mirror of https://github.com/status-im/codimd.git
fix: webpack exclude path should support windows path
Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
parent
bf5325b37f
commit
57b2fa8d12
|
@ -443,7 +443,10 @@ module.exports = {
|
|||
}, {
|
||||
test: /\.js$/,
|
||||
use: [{ loader: 'babel-loader' }],
|
||||
exclude: [/node_modules/, /public\/vendor/]
|
||||
exclude: [
|
||||
path.resolve(__dirname, 'node_modules'),
|
||||
path.resolve(__dirname, 'public/vendor')
|
||||
]
|
||||
}, {
|
||||
test: /\.css$/,
|
||||
use: [
|
||||
|
|
Loading…
Reference in New Issue