Skip to content

Commit

Permalink
Remove terser and re-build
Browse files Browse the repository at this point in the history
  • Loading branch information
calebporzio committed Mar 7, 2020
1 parent 470be9d commit cb431c9
Show file tree
Hide file tree
Showing 4 changed files with 8,484 additions and 24 deletions.
6,889 changes: 6,883 additions & 6 deletions dist/alpine-ie11.js

Large diffs are not rendered by default.

1,603 changes: 1,601 additions & 2 deletions dist/alpine.js

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions rollup-ie11.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import babel from 'rollup-plugin-babel';
import filesize from 'rollup-plugin-filesize';
import { terser } from 'rollup-plugin-terser';
import resolve from 'rollup-plugin-node-resolve';
import commonjs from '@rollup/plugin-commonjs';
import multi from '@rollup/plugin-multi-entry';
Expand All @@ -12,7 +11,6 @@ export default {
name: 'Alpine',
file: 'dist/alpine-ie11.js',
format: 'umd',
sourcemap: true,
},
plugins: [
multi(),
Expand All @@ -21,12 +19,6 @@ export default {
replace({ "process.env.NODE_ENV": "'production'" }),
resolve(),
filesize(),
terser({
mangle: false,
compress: {
drop_debugger: false,
}
}),
babel({
babelrc: false,
exclude: 'node_modules/**',
Expand Down
8 changes: 0 additions & 8 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import babel from 'rollup-plugin-babel';
import filesize from 'rollup-plugin-filesize';
import { terser } from 'rollup-plugin-terser';
import resolve from 'rollup-plugin-node-resolve';
import stripCode from 'rollup-plugin-strip-code';
import replace from '@rollup/plugin-replace';
Expand All @@ -11,19 +10,12 @@ export default {
name: 'Alpine',
file: 'dist/alpine.js',
format: 'umd',
sourcemap: true,
},
plugins: [
// 'observable-membrane' uses process.env. We don't have that...
replace({ "process.env.NODE_ENV": "'production'" }),
resolve(),
filesize(),
terser({
mangle: false,
compress: {
drop_debugger: false,
}
}),
babel({
exclude: 'node_modules/**'
}),
Expand Down

0 comments on commit cb431c9

Please sign in to comment.