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

Need transpiling between compile and assemble #1

Open
3cp opened this issue Jan 11, 2019 · 1 comment
Open

Need transpiling between compile and assemble #1

3cp opened this issue Jan 11, 2019 · 1 comment

Comments

@3cp
Copy link
Member

3cp commented Jan 11, 2019

Currently gulp-vue-file relies on next step on gulp pipeline to transpile js/ts code. But assemble before transpiling could result invalid js code.

For example

@Component
export default class App {}

assemble will rewrite it into invalid code

@Component
const __vue_script__ = class App {}

Need to translate those new syntax (like the decorator showing above) before assembling.

@3cp
Copy link
Member Author

3cp commented Jan 11, 2019

Not sure how rollup-plugin-vue handles transpiling, need to read more on rollup architect.

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

1 participant