Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !6978
An error occurred while fetching the assigned milestone of the selected merge_request.

Add plugin-proposal-export-namespace-from

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/caub/export-ns-from into master 6 years ago
  • Overview 2
  • Commits 1
  • Pipelines 0
  • Changes 2

Created by: caub

allow export * as someIdentifier from 'someModule';

Compare
  • master (base)

and
  • latest version
    c02f26b3
    1 commit, 2 years ago

2 files
+ 3
- 0

    Preferences

    File browser
    Compare changes
packages/babel-‎preset-react-app‎
crea‎te.js‎ +2 -0
packag‎e.json‎ +1 -0
packages/babel-preset-react-app/create.js
+ 2
- 0
  • View file @ c02f26b3


@@ -181,6 +181,8 @@ module.exports = function(api, opts, env) {
@@ -181,6 +181,8 @@ module.exports = function(api, opts, env) {
absoluteRuntime: absoluteRuntimePath,
absoluteRuntime: absoluteRuntimePath,
},
},
],
],
 
// allow export * as someIdentifier from 'someModule';
 
require('@babel/plugin-proposal-export-namespace-from').default,
isEnvProduction && [
isEnvProduction && [
// Remove PropTypes from production build
// Remove PropTypes from production build
require('babel-plugin-transform-react-remove-prop-types').default,
require('babel-plugin-transform-react-remove-prop-types').default,
packages/babel-preset-react-app/package.json
+ 1
- 0
  • View file @ c02f26b3


@@ -24,6 +24,7 @@
@@ -24,6 +24,7 @@
"@babel/core": "7.4.3",
"@babel/core": "7.4.3",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-proposal-decorators": "7.4.0",
"@babel/plugin-proposal-decorators": "7.4.0",
 
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
"@babel/plugin-proposal-object-rest-spread": "7.4.3",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-syntax-dynamic-import": "7.2.0",
"@babel/plugin-transform-classes": "7.4.3",
"@babel/plugin-transform-classes": "7.4.3",
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference:
Source branch: github/fork/caub/export-ns-from

Menu

Explore Projects Groups Snippets