If your project is usingvue-cliand you want to modify theoutput.publicPathoption of webpack, you can use this plugin, otherwise you don't need to use it. Because vue-cli does not allow direct modification of output.publicPath. seedocs ...
rewrite assets public path. Contribute to longshihui/vue-cli-plugin-publicpath development by creating an account on GitHub.
longshihui / vue-cli-plugin-publicpath Public Notifications Fork 3 Star 8 Code Issues Pull requests Actions Projects Security Insights Search all projects 0 Open 0 Closed Sort No open projects Footer © 2023 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact...
env.VUE_APP_PUBLIC_PATH, }, plugins: [ new ModuleFederationPlugin({ name: "e2", filename: "e2.js", exposes: { './e2': './src/index' }, }), ] }, outputDir: process.env.OUTPUT_DIR, // vue-cli publicPath option publicPath: process.env.VUE_APP_PUBLIC_PATH }; I try these ...
Version 4.5.13 Reproduction link https://github.com/realkimmy/vue-cli-mpa Environment info Environment Info: System: OS: macOS 11.6 CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz Binaries: Node: 12.20.0 - /usr/local/bin/node Yarn:...