Skip to content

Commit

Permalink
webpack and package file fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioCasCeb committed Sep 26, 2023
1 parent 2d225a2 commit 61a1cdf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/web-new/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
"directory": "packages/web-new"
},
"scripts": {
"build": "node external-scripts/generate-paths.js && webpack",
"dev": "webpack && node server/server.js",
"server": "node server/server.js",
"build": "node external-scripts/generate-paths.js && webpack --mode production",
"dev": "webpack-dev-server --mode development --config webpack.config.js",
"serve": "node server/server.js",
"examples": "node external-scripts/generate-paths.js"
},
"devDependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/web-new/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const CssMinimizerPlugin = require('css-minimizer-webpack-plugin');

module.exports = {
mode: 'development',
entry: {
bundle: path.resolve(__dirname, 'src/scripts/main.js'),
styles: path.resolve(__dirname, 'src/styles/styles.css'),
Expand Down

0 comments on commit 61a1cdf

Please sign in to comment.