Merge branch 'master' into nb-embed-enhance

This commit is contained in:
rukmini-bose 2022-10-04 10:59:23 -07:00 committed by GitHub
commit ede591d768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,9 +36,19 @@ module.exports = merge(common, {
],
devtool: 'eval-source-map',
devServer: {
devMiddleware: {
writeToDisk: (filePathString) => {
const filePath = path.parse(filePathString);
const shouldWrite = !(filePath.base.includes('hot-update'));
return shouldWrite;
}
},
watchFiles: ['**/*.css'],
static: {
directory: path.join(__dirname, '/dist/'),
publicPath: '/dist'
directory: path.join(__dirname, '/dist'),
publicPath: '/dist',
watch: false
},
client: {
progress: true,