Skip to content

feat(esm build): build ES modules for browser #1533

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 11, 2019
Merged

feat(esm build): build ES modules for browser #1533

merged 1 commit into from
Apr 11, 2019

Conversation

zigomir
Copy link
Contributor

@zigomir zigomir commented Apr 11, 2019

Fixes #1247

Adds minified build which is missing in #1401

Similar effort as in vuejs/vue-router#2705

@yyx990803 yyx990803 merged commit d7c7f98 into vuejs:dev Apr 11, 2019
@zigomir zigomir deleted the esm-build-with-terser branch April 11, 2019 12:54
@Fenzland
Copy link

When can we use this?

import * as Vuex from 'https://unpkg.com/vuex@3.1.0/dist/vuex.esm.browser.js';

@zigomir
Copy link
Contributor Author

zigomir commented Apr 28, 2019

@Fenzland I believe you'll get that only after new version of vuex will be released.

vaga pushed a commit to vaga/vuex that referenced this pull request Apr 20, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support ES6 import from <script type="module"> tag inside browser
3 participants