Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to disable inline manifest in vue-cli service #1227

Closed
crazyxhz opened this issue May 5, 2018 · 1 comment
Closed

how to disable inline manifest in vue-cli service #1227

crazyxhz opened this issue May 5, 2018 · 1 comment

Comments

@crazyxhz
Copy link

crazyxhz commented May 5, 2018

Version

3.0.0-beta.6

Reproduction link

https://github.com/vuejs/vue-cli

Steps to reproduce

use vue cli 3.0.0-beta.9 create a blank project then run npm run build

What is expected?

Manifest.js do not inlined in the output html

What is actually happening?

Manifest.js is inlined in the output html


Due to some constrains , I want webpack manifest do not inlined. How can I do that in vue cli config?

@crazyxhz
Copy link
Author

crazyxhz commented May 5, 2018

figure out myself:
in vue.config.js

chainWebpack: config => {
    config
      .plugin('inline-manifest')
      .tap(args => {
        return [{}];
      });
  },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants