123456789101112131415161718192021222324252627282930313233343536373839404142 |
- var webpack = require("webpack");
- module.exports = {
-
-
-
- publicPath: "/",
- lintOnSave: process.env.NODE_ENV !== "production" ? true : "error",
- configureWebpack: {
- devtool: "source-map",
- plugins: [
-
-
- new webpack.IgnorePlugin(/^\.\/locale$/, /moment|iview$/),
- ],
-
- externals: ["mysql"],
- },
- transpileDependencies: [/\bvue-awesome\b/],
- pluginOptions: {
- electronBuilder: {
- preload: "src/preload.ts",
- externals: [],
- productName: "云阅卷",
- builderOptions: {
- extraFiles: ["font/**", "imagemagick/**"],
- win: {
- target: "portable",
- icon: "build/icon/logo.ico",
- signAndEditExecutable: false,
- publisherName: "启明泰和",
- publish: {
- provider: "generic",
- url: "url",
- channel: "latest",
- publishAutoUpdate: false,
- },
- },
- },
- },
- },
- };
|