Skip to content

Does not work with Vue CLI v5 / Webpack 5 #1625

@undergroundwires

Description

@undergroundwires

Vue CLI 5.0 uses webpack 5. It's not possible to use it due to vue-cli-plugin-electron-builder dependency.

npm run electron:serve or npm run electron:build throws:

Module build failed (from ./node_modules/ts-loader/index.js):
TypeError: loaderContext.getOptions is not a function
    at getLoaderOptions (/home/bob/user/dev/undergroundwires/privacy.sexy/node_modules/ts-loader/dist/index.js:91:41)
    at Object.loader (/home/bob/user/dev/undergroundwires/privacy.sexy/node_modules/ts-loader/dist/index.js:14:21)

vue-cli-plugin-electron-builder depends on older webpack 4.

Is there anyway we can use this project along with Vue CLI 5?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions