mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-11-09 17:21:22 +03:00
replace relative path with npx
This commit is contained in:
parent
8013197ca9
commit
c8783553f9
@ -27,8 +27,8 @@ const config = {
|
||||
dist: path.join(cwd, 'public', 'dist'),
|
||||
},
|
||||
binaries: {
|
||||
elm: path.join(root, 'node_modules', '.bin', 'elm'),
|
||||
terser: path.join(root, 'node_modules', '.bin', 'terser')
|
||||
elm: `npx elm`,
|
||||
terser: `npx terser`
|
||||
},
|
||||
defaults: [
|
||||
[ 'Main.elm' ],
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Request exposing (Request, create, pushUrl, replaceUrl)
|
||||
module Request exposing (Request, create, pushRoute, replaceRoute)
|
||||
|
||||
import Browser.Navigation exposing (Key)
|
||||
import ElmSpa.Request as ElmSpa
|
||||
|
Loading…
Reference in New Issue
Block a user