pika-plugin-build-web-babel
Advanced tools
Comparing version 0.9.3 to 0.9.4
{ | ||
"name": "pika-plugin-build-web-babel", | ||
"description": "A @pika/pack plugin: Adds an babel compiled ESM distribution to your package", | ||
"version": "0.9.3", | ||
"version": "0.9.4", | ||
"files": [ | ||
@@ -6,0 +6,0 @@ "src/" |
@@ -18,3 +18,3 @@ var path = (require('path')); | ||
var workerPlugin = require('./worker-plugin'); | ||
var postcss = require('rollup-plugin-postcss'); | ||
var postcss = require('rollup-plugin-postcss'); | ||
@@ -69,2 +69,3 @@ const defaultFormat = 'esm'; | ||
resolve({ | ||
browser: true, | ||
extensions, | ||
@@ -82,5 +83,3 @@ }), | ||
if (format === 'umd') { | ||
plugins.push(commonjs()); | ||
} | ||
plugins.push(commonjs()); | ||
@@ -87,0 +86,0 @@ if (options.terser) { |
20246
540