Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Decorators not transpiling with legacy plugin in webpack conf and babelrc. #69

Open
daimeng opened this issue Jun 17, 2016 · 3 comments

Comments

@daimeng
Copy link

daimeng commented Jun 17, 2016

Having some trouble getting decorators to work. Added the plugin to babelrc file then did babelrc true and also just tried copy and pasting options over to webpack dev config.

Now the output js file builds and page loads, but transpiling at runtime still isn't working. I just get the standard Babel 6.x doesnt support because blah message.

Anyone know where I should be configuring the runtime babel?

@daimeng daimeng changed the title Decorators Decorators not transpiling with legacy plugin in webpack conf and babelrc. Jun 17, 2016
@LeoAJ
Copy link
Contributor

LeoAJ commented Jul 9, 2016

You will need plugin for decorators in babel 6.x

@daimeng
Copy link
Author

daimeng commented Jul 10, 2016

Thanks for the response. I have that plugin for server config. So I can import files using decorator. However the runtime transpiler is using a different config it seems.

@LeoAJ
Copy link
Contributor

LeoAJ commented Jul 11, 2016

You should probably seek help in Babel community

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

No branches or pull requests

2 participants