Revert "Add yet-another-react-lightbox package and update .gitignore to exclude node_modules"
This reverts commit c92f4a5edd.
This commit is contained in:
20
frontend/node_modules/@svgdotjs/svg.js/.config/rollup.polyfills.js
generated
vendored
Normal file
20
frontend/node_modules/@svgdotjs/svg.js/.config/rollup.polyfills.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
import resolve from '@rollup/plugin-node-resolve'
|
||||
import commonjs from '@rollup/plugin-commonjs'
|
||||
import filesize from 'rollup-plugin-filesize'
|
||||
|
||||
// We dont need babel. All polyfills are compatible
|
||||
const config = (ie) => ({
|
||||
input: './.config/polyfillListIE.js',
|
||||
output: {
|
||||
file: 'dist/polyfillsIE.js',
|
||||
format: 'iife'
|
||||
},
|
||||
plugins: [
|
||||
resolve({ browser: true }),
|
||||
commonjs(),
|
||||
//terser(),
|
||||
filesize()
|
||||
]
|
||||
})
|
||||
|
||||
export default [true].map(config)
|
||||
Reference in New Issue
Block a user