mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 16:34:33 +00:00
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…
x
Reference in New Issue
Block a user