parent
8de0d73778
commit
10c0d7a144
5 changed files with 6479 additions and 2872 deletions
@ -1,2 +1,4 @@ |
|||||||
# dependencies |
# dependencies |
||||||
node_modules |
node_modules |
||||||
|
|
||||||
|
out/*LICENSE* |
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,29 @@ |
|||||||
|
const path = require('path'); |
||||||
|
|
||||||
|
module.exports = { |
||||||
|
entry: './index.js', |
||||||
|
mode: 'production', |
||||||
|
module: { |
||||||
|
rules: [ |
||||||
|
{ |
||||||
|
exclude: /node_modules/, |
||||||
|
test: /\.m?js$/, |
||||||
|
use: { |
||||||
|
loader: 'babel-loader', |
||||||
|
options: { |
||||||
|
presets: ['@babel/preset-env'], |
||||||
|
}, |
||||||
|
}, |
||||||
|
}, |
||||||
|
], |
||||||
|
}, |
||||||
|
optimization: { |
||||||
|
minimize: true, |
||||||
|
}, |
||||||
|
output: { |
||||||
|
path: path.resolve(__dirname, 'out'), |
||||||
|
filename: 'index.js', |
||||||
|
}, |
||||||
|
stats: 'detailed', |
||||||
|
target: 'node10', |
||||||
|
}; |
Loading…
Reference in new issue