elm-community / elm-webpack-starter

Boilerplate for developing Elm apps on Webpack

Home Page:http://elm-community.org/elm-webpack-starter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WIndows not working, FIXED

madasebrof opened this issue · comments

FYI, running Windows 10.

To get this to run on windows, I had to make the following changes to webpack.config.js:

  output: {
    path:       outputPath,
    // filename:   path.join( 'static/js/', outputFilename ),
    filename:   "bundle.js",
    publicPath: '/'
  },

Other than that, nice starting place!

(also looks like bootstrap icon fonts aren't being bundled in the production build for some reason...)

please try the latest version. the local server/bundler should work fine.

unfortunately, npm run build is not Windows-compatible at the moment. see comments in this PR. for now, you can just remove all the mv commands from the script, then copy the font files into dist/static/css manually..