fix: rm demo in lib

This commit is contained in:
春希 2020-03-31 21:45:57 +08:00
parent 389eaf7104
commit 55630d6347

View File

@ -3,11 +3,11 @@ const nodeExternals = require('webpack-node-externals');
const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin'); const TsconfigPathsPlugin = require('tsconfig-paths-webpack-plugin');
module.exports = { module.exports = {
// entry: './src/index.ts', mode: 'production',
target: 'node', target: 'node',
entry: { entry: {
index: './src/index.ts', index: './src/index.ts',
demo: './src/demo/main.ts', // demo: './src/demo/main.ts',
}, },
module: { module: {
rules: [ rules: [