webpack 调整
This commit is contained in:
parent
ff103efcad
commit
e13d1e2578
|
|
@ -378,6 +378,8 @@ module.exports = function (webpackEnv) {
|
|||
// as micromatch doesn't match
|
||||
// otherwise.
|
||||
include: [
|
||||
{ file: '../**/app/**/*.{ts,tsx}' },
|
||||
{ file: '**/app/**/*.{ts,tsx}' },
|
||||
{ file: '../**/src/**/*.ts' },
|
||||
{ file: '**/src/**/*.ts' },
|
||||
],
|
||||
|
|
|
|||
|
|
@ -814,6 +814,8 @@ module.exports = function (webpackEnv) {
|
|||
// '../cra-template-typescript/template/src/App.tsx'
|
||||
// otherwise.
|
||||
include: [
|
||||
{ file: '../**/app/**/*.{ts,tsx}' },
|
||||
{ file: '**/app/**/*.{ts,tsx}' },
|
||||
{ file: '../**/src/**/*.{ts,tsx}' },
|
||||
{ file: '**/src/**/*.{ts,tsx}' },
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in New Issue