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

Doesn't work: ES7(stage1) export-from statements #11

Closed
59naga opened this issue Nov 15, 2015 · 0 comments
Closed

Doesn't work: ES7(stage1) export-from statements #11

59naga opened this issue Nov 15, 2015 · 0 comments

Comments

@59naga
Copy link
Owner

59naga commented Nov 15, 2015

v0.1.0 is unavailable the babel-plugin-transform-export-extensions aka preset-stage-1

export default from './lib'
babel entry.js --presets es2015 --plugins transform-export-extensions,add-module-exports
# 'use strict';
#
# Object.defineProperty(exports, "__esModule", {
#   value: true
# });
# exports.default = undefined;
#
# var _index = require('./index');
#
# var _index2 = _interopRequireDefault(_index);
#
# function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
#
# exports.default = _index2.default;
@59naga 59naga closed this as completed in e1bbbf0 Nov 15, 2015
@59naga 59naga changed the title Doesn't work: ES7(stage1) export-from statements in ES7 Doesn't work: ES7(stage1) export-from statements Nov 15, 2015
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