hanlin-ext-loader
v0.0.5
Published
webpack配置
Downloads
5
Readme
云上翰林院electron客户端修正node-loader路径
Usage
webpack配置
module: {
rules: [
{
test: /\.node$/,
loader: "hanlin-ext-loader"
}
];
}
vueCli3+配置
configureWebpack: (config) => {
config.module.rules.push({
test: /\.node$/,
use: [{
loader: 'hanlin-ext-loader',
options: { rewritePath: './libs' }
}],
})
},