mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Patch webpack-config temporarily
This commit is contained in:
parent
2fc3f80f1f
commit
9a11580563
11
.eslintrc.js
11
.eslintrc.js
@ -1 +1,12 @@
|
|||||||
module.exports = require('@silverstripe/webpack-config/.eslintrc');
|
module.exports = require('@silverstripe/webpack-config/.eslintrc');
|
||||||
|
|
||||||
|
// @todo Remove once upgrading webpack-config to 0.4.0
|
||||||
|
module.exports.settings['import/resolver'].node.moduleDirectory = [
|
||||||
|
'.',
|
||||||
|
'client/src',
|
||||||
|
'../admin/client/src',
|
||||||
|
'../admin/node_modules',
|
||||||
|
'vendor/silverstripe/admin/client/src',
|
||||||
|
'vendor/silverstripe/admin/node_modules',
|
||||||
|
'node_modules'
|
||||||
|
];
|
||||||
|
@ -59,10 +59,10 @@
|
|||||||
"moduleDirectories": [
|
"moduleDirectories": [
|
||||||
"client/src",
|
"client/src",
|
||||||
"node_modules",
|
"node_modules",
|
||||||
"../silverstripe-admin/client/src",
|
"../admin/client/src",
|
||||||
"../silverstripe-admin",
|
"../admin",
|
||||||
"silverstripe-admin/client/src",
|
"vendor/silverstripe/admin/client/src",
|
||||||
"silverstripe-admin",
|
"vendor/silverstripe/admin",
|
||||||
"node_modules/@silverstripe/webpack-config/node_modules"
|
"node_modules/@silverstripe/webpack-config/node_modules"
|
||||||
],
|
],
|
||||||
"testMatch": [
|
"testMatch": [
|
||||||
|
Loading…
Reference in New Issue
Block a user