build-plugin-at-spa
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "build-plugin-at-spa", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "build-scripts for at spaa", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
module.exports = { | ||
compilerOptions: { | ||
outDir: './build/', | ||
allowJs: true, // 兼容JS模块 | ||
allowJs: true, | ||
allowSyntheticDefaultImports: true, | ||
checkJs: false, // TODO 配合allowJS | ||
esModuleInterop: true, // 兼容babel | ||
checkJs: false, | ||
esModuleInterop: true, | ||
strictNullChecks: false, | ||
@@ -15,19 +15,7 @@ moduleResolution: 'node', | ||
noUnusedLocals: true, | ||
noImplicitAny: false, // TODO 兼容JS模块 | ||
noImplicitAny: false, | ||
target: 'es5', | ||
baseUrl: '.', | ||
baseUrl: './', | ||
paths: { | ||
'components/*': ['./src/components/*'], | ||
'assets/*': ['./src/assets/*'], | ||
'utils/*': ['./src/utils/*'], | ||
'actions/*': ['./src/actions/*'], | ||
'models/*': ['./src/models/*'], | ||
'reducers/*': ['./src/reducers/*'], | ||
'hoc/*': ['./src/hoc/*'], | ||
'hooks/*': ['./src/hooks/*'], | ||
utils: ['./src/utils'], | ||
models: ['./src/models'], | ||
reducers: ['./src/reducers'], | ||
hoc: ['./src/hoc'], | ||
hooks: ['./src/hooks'], | ||
'@': ['src'], | ||
}, | ||
@@ -34,0 +22,0 @@ lib: ['dom', 'es6', 'es7'], |
3143
70