mirror of
https://github.com/status-im/codimd.git
synced 2025-02-28 10:50:43 +00:00
Merge pull request #1675 from hackmdio/fix/windows-webpack-build
fix: webpack exclude path should support windows path
This commit is contained in:
commit
bef0701c8f
@ -443,7 +443,10 @@ module.exports = {
|
|||||||
}, {
|
}, {
|
||||||
test: /\.js$/,
|
test: /\.js$/,
|
||||||
use: [{ loader: 'babel-loader' }],
|
use: [{ loader: 'babel-loader' }],
|
||||||
exclude: [/node_modules/, /public\/vendor/]
|
exclude: [
|
||||||
|
path.resolve(__dirname, 'node_modules'),
|
||||||
|
path.resolve(__dirname, 'public/vendor')
|
||||||
|
]
|
||||||
}, {
|
}, {
|
||||||
test: /\.css$/,
|
test: /\.css$/,
|
||||||
use: [
|
use: [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user