Disable type checking on JS
This commit is contained in:
parent
81b44a6cc9
commit
2318e3a555
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"lib": ["es6", "dom", "es2017"],
|
"lib": ["es6", "dom", "es2017"],
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"checkJs": true,
|
"checkJs": false,
|
||||||
"jsx": "react",
|
"jsx": "react",
|
||||||
"sourceMap": true,
|
"sourceMap": true,
|
||||||
"outDir": "./build",
|
"outDir": "./build",
|
||||||
|
|
|
@ -4,7 +4,7 @@ const path = require('path');
|
||||||
const src = path.resolve(__dirname, 'src');
|
const src = path.resolve(__dirname, 'src');
|
||||||
const dist = path.resolve(__dirname, 'build');
|
const dist = path.resolve(__dirname, 'build');
|
||||||
|
|
||||||
config = {
|
const config = {
|
||||||
entry: {
|
entry: {
|
||||||
content: path.join(src, 'content'),
|
content: path.join(src, 'content'),
|
||||||
settings: path.join(src, 'settings'),
|
settings: path.join(src, 'settings'),
|
||||||
|
|
Reference in a new issue