mirror of
https://github.com/certd/certd.git
synced 2026-04-14 04:20:52 +08:00
refactor: wepack
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
"main": "src/index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"build": "webpack --config webpack.config.js "
|
||||
"build": "webpack --config webpack.config.cjs "
|
||||
},
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
const path = require('path')
|
||||
|
||||
module.exports = {
|
||||
target: 'node',
|
||||
entry: './src/index.js',
|
||||
output: {
|
||||
filename: 'main.js',
|
||||
filename: 'main.cjs',
|
||||
path: path.resolve(__dirname, 'dist')
|
||||
}
|
||||
}
|
||||
Submodule packages/node-acme-client updated: e384bc3c8e...48fa873277
Reference in New Issue
Block a user