diff --git a/package.json b/package.json index b4ddb06cf..53d6f78c6 100755 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "license": "GPLv3", "scripts": { "start": "webpack-dev-server --mode development", - "build": "webpack --mode production --output-path build", + "build": "webpack --mode production", "storybook": "start-storybook --ci --config-dir ./storybook --static-dir ./ --port 6060", "test": "jest", "lint": "eslint src" diff --git a/webpack.config.js b/webpack.config.js index 466f5cc30..a9c28c840 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -8,6 +8,9 @@ const TerserPlugin = require('terser-webpack-plugin'); module.exports = { entry: './src/index.js', + output: { + path: path.join(__dirname, 'build') + }, module: { rules: [ {