mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: remove packages
This commit is contained in:
parent
78d6b597cf
commit
07c43b2458
3 changed files with 3 additions and 23 deletions
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"jsx": "react",
|
||||
"target": "es2017",
|
||||
"experimentalDecorators": true,
|
||||
"baseUrl": "./",
|
||||
"module": "commonjs",
|
||||
"paths": {
|
||||
"*" : ["src/*", "packages/*"]
|
||||
}
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
],
|
||||
"include": [
|
||||
"src/**/*",
|
||||
"packages/**/*",
|
||||
]
|
||||
}
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
"baseUrl": ".",
|
||||
"outDir": "dist",
|
||||
"paths": {
|
||||
"*": ["src/*", "packages/*"]
|
||||
"*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src"]
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue