Skip to content

Commit

Permalink
Rename build:ui:watch to start:dev:ui command
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Feb 16, 2021
1 parent 45fed37 commit 353c327
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@
"lint": "eslint \"./src/**/*.ts*\"",
"build": "yarn build:clean && yarn build:ui && yarn build:routes",
"build:ui": "NODE_ENV=production webpack --mode=production",
"build:ui:watch": "NODE_ENV=development webpack serve",
"build:routes": "yarn tsc",
"build:clean": "rm -rf ./static ./dist",
"start:dev:docker": "docker-compose up -d",
"start:dev:server": "nodemon example.js",
"start:dev:ui": "NODE_ENV=development webpack serve",
"start:dev": "yarn start:dev:docker && yarn start:dev:server",
"test": "yarn ts-node src/dockest",
"snyk-protect": "snyk protect",
Expand Down
4 changes: 1 addition & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@ module.exports = {
{
test: /\.css$/,
use: [
process.env.NODE_ENV !== 'production'
? 'style-loader'
: MiniCssExtractPlugin.loader,
isProd ? MiniCssExtractPlugin.loader : 'style-loader',
{
loader: 'css-loader',
options: {
Expand Down

0 comments on commit 353c327

Please sign in to comment.