mirror of https://github.com/lukechilds/rollup.git
Rich-Harris
10 years ago
3 changed files with 3 additions and 3 deletions
@ -1,6 +1,6 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'imports a default class', |
description: 'imports a default class', |
||||
babel: [ 'es6.classes' ] |
babel: [ 'es6.classes', 'es6.blockScoping' ] |
||||
}; |
}; |
||||
|
|
||||
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-default-class
|
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-default-class
|
||||
|
@ -1,6 +1,6 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'imports a named class', |
description: 'imports a named class', |
||||
babel: [ 'es6.classes' ] |
babel: [ 'es6.classes', 'es6.blockScoping' ] |
||||
}; |
}; |
||||
|
|
||||
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-named-class
|
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-named-class
|
||||
|
@ -1,6 +1,6 @@ |
|||||
module.exports = { |
module.exports = { |
||||
description: 'imports a nameless class expression', |
description: 'imports a nameless class expression', |
||||
babel: [ 'es6.classes' ] |
babel: [ 'es6.classes', 'es6.blockScoping' ] |
||||
}; |
}; |
||||
|
|
||||
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-class-expression
|
// test copied from https://github.com/esnext/es6-module-transpiler/tree/master/test/examples/export-class-expression
|
||||
|
Loading…
Reference in new issue