Skip to content

Commit

Permalink
Merge pull request #7 from lana/fix-rollup-esm-build
Browse files Browse the repository at this point in the history
Fix rollup esm build
  • Loading branch information
jasonadt authored May 12, 2020
2 parents 2289a52 + 50d5421 commit d84898f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lana/b2c-mapp-ui-assets",
"version": "4.0.0",
"version": "4.0.1",
"description": "Lana B2C Microapp UI Assets, icons and images for general use.",
"repository": {
"type": "git",
Expand Down
4 changes: 1 addition & 3 deletions rollup.config.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import svg from 'rollup-plugin-vue-inline-svg';
import resolve from 'rollup-plugin-node-resolve';
import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import { terser } from 'rollup-plugin-terser';
import globals from 'rollup-plugin-node-globals';
import postcss from 'rollup-plugin-postcss';
import autoprefixer from 'autoprefixer';
Expand All @@ -14,7 +13,7 @@ const config = {
input: 'src/index.js',
output: {
file: 'dist/bundle-esm.js',
format: 'esm',
format: 'es',
name: 'b2cMappUiAssets',
sourcemap: false,
},
Expand Down Expand Up @@ -42,7 +41,6 @@ const config = {
...babelConfig,
runtimeHelpers: true,
}),
terser(),
],
};

Expand Down
4 changes: 1 addition & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ import WarningLineIcon from './icons/warningLine.svg';
import WaterIcon from './icons/water.svg';
import './styles/styles.scss';

const libraryIcons = {
export {
AddBeneficiaryIcon,
AddBoldIcon,
AddIcon,
Expand Down Expand Up @@ -422,5 +422,3 @@ const libraryIcons = {
WarningLineIcon,
WaterIcon,
};

export default libraryIcons;

0 comments on commit d84898f

Please sign in to comment.