Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Ibro
Created February 20, 2016 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ibro/5f98b092cf71fd81179c to your computer and use it in GitHub Desktop.
Save Ibro/5f98b092cf71fd81179c to your computer and use it in GitHub Desktop.
Webpack config with dev server
module.exports = {
entry: __dirname + "/app/main.js",
output: {
path: __dirname + "/public",
filename: "app.js"
},
devServer: {
contentBase: "./public",
historyApiFallback: true,
inline: true,
port: 3001
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment