mirror of
https://github.com/unjs/unplugin.git
synced 2026-01-25 16:07:28 +00:00
16 lines
331 B
JavaScript
16 lines
331 B
JavaScript
const { resolve } = require('path')
|
|
const { webpack } = require('./unplugin')
|
|
|
|
module.exports = {
|
|
mode: 'development',
|
|
entry: resolve(__dirname, 'src/main.js'),
|
|
output: {
|
|
path: resolve(__dirname, 'dist/webpack'),
|
|
filename: 'main.js',
|
|
},
|
|
plugins: [
|
|
webpack({ msg: 'Webpack' }),
|
|
],
|
|
devtool: 'source-map',
|
|
}
|