Skip to content

Commit

Permalink
ci!: Stop building polyfill versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivandotv committed Nov 27, 2020
1 parent a720d40 commit 9a1aeb9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ const browserModuleWithPolyfill = {

const allBuilds = [
umd,
umdWithPolyfill,
browserModule,
browserModuleWithPolyfill
// umdWithPolyfill,
browserModule
// browserModuleWithPolyfill
]

const envToBuildMap = {
Expand All @@ -133,7 +133,7 @@ const envToBuildMap = {
const finalBuilds = chooseBuild(envToBuildMap, process.env.BUILD) || allBuilds

function libPath(path, libName) {
return function(suffix) {
return function (suffix) {
return path.concat('/', libName, suffix)
}
}
Expand All @@ -146,7 +146,7 @@ function chooseBuild(buildMap, builds) {
const result = []

if (envArr.length > 0) {
envArr.forEach(element => {
envArr.forEach((element) => {
if (buildMap[element]) {
result.push(...buildMap[element])
console.log(`Found key: ${element}`)
Expand Down

0 comments on commit 9a1aeb9

Please sign in to comment.