mirror of
https://github.com/zhigang1992/create-react-app.git
synced 2026-03-29 00:18:13 +08:00
Fix windows build
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = {
|
||||
test: /\.js$/,
|
||||
include: [
|
||||
path.resolve(__dirname, './src'),
|
||||
/\/node_modules\/(ansi-styles|chalk)\//,
|
||||
/[\/\\]node_modules[\/\\](ansi-styles|chalk)[\/\\]/,
|
||||
],
|
||||
use: {
|
||||
loader: 'babel-loader',
|
||||
|
||||
Reference in New Issue
Block a user