Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
QMAPS-2551 - Remove build folder before build and watch command
Browse files Browse the repository at this point in the history
  • Loading branch information
pascaloliv committed Mar 9, 2022
1 parent 81abac1 commit b5211bd
Show file tree
Hide file tree
Showing 15 changed files with 258 additions and 181 deletions.
2 changes: 1 addition & 1 deletion bin/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function App(config) {
}

router.get('/unsupported', (req, res) => {
res.render('unsupported', { config });
res.render('unsupported', { config: { ...config, compilationHash } });
});

const redirectUnsupported = new require('./middlewares/unsupported_browser')(config);
Expand Down
2 changes: 1 addition & 1 deletion build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const sassChunkConfig = () => {
use: {
loader: 'file-loader',
options: {
name: `public/css/[name]-${compilationHash}.css`,
name: `public/build/css/[name]-${compilationHash}.css`,
},
},
},
Expand Down
212 changes: 138 additions & 74 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b5211bd

Please sign in to comment.