diff --git a/jsconfig.json b/jsconfig.json deleted file mode 100644 index f651127..0000000 --- a/jsconfig.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "compilerOptions": { - "jsx": "react", - "target": "es2017", - "experimentalDecorators": true, - "baseUrl": "./", - "module": "commonjs", - "paths": { - "*" : ["src/*", "packages/*"] - } - }, - "exclude": [ - "node_modules", - ], - "include": [ - "src/**/*", - "packages/**/*", - ] -} diff --git a/tsconfig.json b/tsconfig.json index 66ecce7..e72fdee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ "baseUrl": ".", "outDir": "dist", "paths": { - "*": ["src/*", "packages/*"] + "*": ["src/*"] } }, "include": ["src"] diff --git a/webpack.config.js b/webpack.config.js index 1483add..9ef8c47 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -7,7 +7,6 @@ const MiniCssExtractPlugin = require('mini-css-extract-plugin') const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin const srcPath = path.resolve(__dirname, 'src') -const packagesPath = path.resolve(__dirname, 'packages') const plugins = [ new CopyWebpackPlugin([ @@ -70,7 +69,7 @@ module.exports = { }, resolve: { extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'], - modules: [srcPath, packagesPath, 'node_modules'], + modules: [srcPath, 'node_modules'], }, module: { rules: [ @@ -80,7 +79,7 @@ module.exports = { options: { cacheDirectory: true, }, - include: [srcPath, packagesPath], + include: [srcPath], exclude: /node_modules/, sideEffects: false, },