Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Run in Stage 1 Mode #5

Closed
erichiller opened this issue Jan 10, 2016 · 4 comments
Closed

Run in Stage 1 Mode #5

erichiller opened this issue Jan 10, 2016 · 4 comments

Comments

@erichiller
Copy link

Great work. However I can not for the life of me figure out how to get Stage 1 Features (need decorators) working. I've been trying to import plugins manually in the configuration for most of the day now, and finally had to give up on it. Admittedly I am new to systemjs and babel. Any way you could add Stage 1 or maybe point me in the right direction?

@guybedford
Copy link
Member

This plugin does not come with stage 1 features as they are unstable and changing.

To add stage one with jspm you can do:

jspm install npm:babel-preset-stage-1

And then set:

System.config({
  babelOptions: {
    presets: ['babel-preset-stage-1']
  }
});

@erichiller
Copy link
Author

Thanks, I'll give that a go. Is there a certain directory that needs to be done from within?

@guybedford
Copy link
Member

No directory needed just the standard jspm install. If you're not using jspm, I'll see if I can get some docs together for that case as well. I posted #6 to track the documentation of this further.

@erichiller
Copy link
Author

@guybedford Thanks much! I truly appreciate it.

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