replace relative path with npx

This commit is contained in:
Ryan Haskell-Glatz 2021-01-29 20:40:03 -06:00
parent 8013197ca9
commit c8783553f9
2 changed files with 3 additions and 3 deletions

View File

@ -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' ],

View File

@ -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