Skip to content

Commit d8a9f91

Browse files
committed
build: don't separate build from dist
1 parent 6f8344c commit d8a9f91

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ npm-*
99
.vscode
1010

1111
# Build output
12-
/build
1312
/dist
1413

1514
# Locale message files (all locales except English are generated)

webpack.config.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const config = {
3333
},
3434
// Enable webpack-dev-server to get hot refresh of the app.
3535
devServer: {
36-
static: './build',
36+
static: './dist',
3737
},
3838
devtool: /** @type {Configuration["devtool"]} */ (false),
3939
ignoreWarnings: /** @type {Configuration["ignoreWarnings"]} */ ([]),
@@ -44,10 +44,6 @@ const config = {
4444
*/
4545
module.exports = (env, argv) => {
4646
if (argv.mode === 'development') {
47-
// Set the output path to the `build` directory
48-
// so we don't clobber production builds.
49-
config.output.path = path.resolve(__dirname, 'build')
50-
5147
// Generate source maps for our code for easier debugging.
5248
// Not suitable for production builds. If you want source maps in
5349
// production, choose a different one from https://webpack.js.org/configuration/devtool

0 commit comments

Comments
 (0)