Skip to content

Commit

Permalink
Fix prod folder output and add build command
Browse files Browse the repository at this point in the history
  • Loading branch information
radium-v committed May 5, 2020
1 parent f775893 commit 6fbc846
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sites/fast-website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"webpack-dev-server": "^3.10.3"
},
"scripts": {
"start": "webpack-dev-server --history-api-fallback --inline --progress"
"start": "webpack-dev-server --history-api-fallback --inline --progress",
"build": "webpack"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion sites/fast-website/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = {
extensions: [".ts", ".tsx", ".js"],
},
output: {
path: path.resolve(__dirname, "/dist"),
path: path.resolve(__dirname, "dist"),
filename: "bundle.js", // Name of generated bundle after build
publicPath: "/", // public URL of the output directory when referenced in a browser
},
Expand Down

0 comments on commit 6fbc846

Please sign in to comment.