Skip to content

bugs in webpack.config.js  #20

@wu933

Description

@wu933
  • webpack.config.js

const config = {
entry: "./src/index.js",
output: {
filename: "vue-context-menu.js",
// path: __dirname,
publicPath: '.',
library: 'VueContextMenu',
libraryTarget: 'umd'
},

vue-context-menu.js request 404 due to the config of publicPath, need to delete ".", just as follow:
publicPath: '',

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