Skip to content

Commit

Permalink
Fix basic broken stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
danez committed Oct 31, 2018
1 parent 7914711 commit 024c801
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 4 additions & 3 deletions Gulpfile.js
Expand Up @@ -226,7 +226,8 @@ function buildRollup(packages) {
rollupBabel({
envName: "rollup",
babelrc: false,
extends: "./.babelrc.js",
exclude: "**/node_modules/**",
extends: "./babel.config.js",
}),
rollupNodeGlobals({ sourceMap: false }),
rollupCommonJs(),
Expand All @@ -250,8 +251,6 @@ function buildRollup(packages) {
);
}

gulp.task("default", ["build"]);

// These are bundles which are placed in lib and
// serve as the commonjs npm package source
const libBundles = [
Expand Down Expand Up @@ -308,6 +307,8 @@ gulp.task(
})
);

gulp.task("default", gulp.series("build"));

registerStandalonePackageTask(
gulp,
"babel",
Expand Down
6 changes: 0 additions & 6 deletions babel.config.js
Expand Up @@ -13,7 +13,6 @@ module.exports = function(api) {

let convertESM = true;
let ignoreLib = true;
let includeRuntime = false;

switch (env) {
// Configs used during bundling builds.
Expand All @@ -24,8 +23,6 @@ module.exports = function(api) {
case "standalone":
case "rollup":
convertESM = false;
ignoreLib = false;
includeRuntime = true;
break;
case "production":
// Config during builds before publish.
Expand Down Expand Up @@ -112,9 +109,6 @@ module.exports = function(api) {
"packages/babel-runtime",
/[\\/]node_modules[\\/](?:@babel\/runtime|babel-runtime|core-js)[\\/]/,
],
plugins: [includeRuntime ? "@babel/transform-runtime" : null].filter(
Boolean
),
},
].filter(Boolean),
};
Expand Down

0 comments on commit 024c801

Please sign in to comment.