0.0.5 • Published 3 years ago

hanlin-ext-loader v0.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

云上翰林院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' }
      }],
    })
  },
0.0.5

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago