- config your webpack
import pack from 'meer-pack'
pack({
entry: './components/index.js',
mode: 'development',
outputConfig: {
filename: 'bundle.js',
path: '../dist'
}
})
- build it
script: {
'build': 'npm run build'
}