Initial commit

This commit is contained in:
2023-03-23 00:48:09 +01:00
commit 4e08ef5747
12 changed files with 4027 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
import { resolve, join } from 'node:path'
import { fileURLToPath } from 'node:url'
import webpack from 'webpack'
export default {
mode: process.env.NODE_ENV || 'production',
entry: './src/index.js',
output: {
library: {type:'module'},
filename: 'ppp2.js',
path: resolve(fileURLToPath(join(import.meta.url, '..')), 'dist')
},
plugins: [
new webpack.optimize.LimitChunkCountPlugin({
maxChunks: 1
})
],
experiments: {
outputModule: true
}
}