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

Switch to stage-2 to support code-splitting #163

Open
Akryum opened this issue Nov 26, 2017 · 3 comments
Open

Switch to stage-2 to support code-splitting #163

Akryum opened this issue Nov 26, 2017 · 3 comments

Comments

@Akryum
Copy link

Akryum commented Nov 26, 2017

Some Vue.js evangelists (pun to @TheLarkInn) love to communicate about how easy it is to use webpack code-splitting with Vue. So it would be nice to support it out-of-the-box in this template, by switching babel-preset-stage-3 to babel-preset-stage-2 that includes syntax-dynamic-import.

@Akryum Akryum changed the title Switch to stage-2 to suport code-splitting Switch to stage-2 to support code-splitting Dec 12, 2017
@LinusBorg
Copy link
Contributor

Uhm why is that necessary? Doesn't Webpack replace the import with its own stuff anyway?

@Akryum
Copy link
Author

Akryum commented Dec 12, 2017

Well, you will still have a babel syntax error.

@LinusBorg
Copy link
Contributor

Oh right, of course.

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