Skip to content

Commit

Permalink
Removed buble support
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Jul 30, 2018
1 parent 434391d commit 1ae81be
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 15 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
"meow": "^5.0.0",
"rollup": "^0.63.4",
"rollup-plugin-babel": "^4.0.0-beta.7",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^9.1.4",
"rollup-plugin-executable": "^1.2.0",
"rollup-plugin-json": "^3.0.0",
Expand Down
5 changes: 0 additions & 5 deletions src/config/createBubleConfig.js

This file was deleted.

File renamed without changes.
12 changes: 3 additions & 9 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import yamlPlugin from "rollup-plugin-yaml"
import replacePlugin from "rollup-plugin-replace"
import executablePlugin from "rollup-plugin-executable"

import getTranspilers from "./getTranspilers"
import createBabelConfig from "./createBabelConfig"
import getBanner from "./getBanner"

const ROOT = getRoot()
Expand All @@ -37,7 +37,6 @@ const command = meow(
--output-folder Configure the output folder [default = auto]
-t, --transpiler Chose the transpiler to use. Either "babel" or "buble". [default = babel]
-x, --minified Enabled minification of output files
-m, --sourcemap Create a source map file during processing
Expand All @@ -64,11 +63,6 @@ const command = meow(
default: null
},

transpiler: {
default: "babel",
alias: "t"
},

minified: {
default: false,
alias: "x"
Expand Down Expand Up @@ -217,15 +211,15 @@ try {
eachOfSeries(
formats,
(format, formatIndex, formatCallback) => {
const transpilers = getTranspilers(command.flags.transpiler, {
const configs = createBabelConfig({
minified: command.flags.minified,
presets: [],
plugins: [],
targetModern
})

eachOfSeries(
transpilers,
configs,
(currentTranspiler, transpilerId, variantCallback) => {
const outputFile = outputFileMatrix[`${targetId}-${transpilerId}-${format}`]
if (outputFile) {
Expand Down

0 comments on commit 1ae81be

Please sign in to comment.