mirror of
https://github.com/penpot/penpot.git
synced 2025-05-28 14:36:13 +02:00
⚡ Add production bundles of react-color and react-dnd dependencies.
This commit is contained in:
parent
005a2fe263
commit
6fe9d0bfa4
7 changed files with 98 additions and 1132 deletions
5
frontend/vendor/rollup.config.js
vendored
5
frontend/vendor/rollup.config.js
vendored
|
@ -3,8 +3,13 @@ import resolve from 'rollup-plugin-node-resolve';
|
|||
import commonjs from 'rollup-plugin-commonjs';
|
||||
import globals from 'rollup-plugin-node-globals';
|
||||
import builtins from 'rollup-plugin-node-builtins';
|
||||
import replace from 'rollup-plugin-replace';
|
||||
|
||||
const plugins = [
|
||||
replace({
|
||||
'process.env.NODE_ENV': JSON.stringify('production')
|
||||
}),
|
||||
|
||||
babel({
|
||||
exclude: 'node_modules/**',
|
||||
sourceMap: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue