Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #220 from asigloo/bugfix/add-themes-to-dist
Browse files Browse the repository at this point in the history
fix(npm): added themes again to the package
  • Loading branch information
alvarosabu authored Jan 11, 2021
2 parents 59df772 + 34ada89 commit 2b3f19b
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 0 deletions.
72 changes: 72 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"rollup": "^2.33.3",
"rollup-plugin-analyzer": "^3.3.0",
"rollup-plugin-bundle-size": "^1.0.3",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-scss": "^2.6.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
Expand Down
4 changes: 4 additions & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import vue from 'rollup-plugin-vue';
import alias from '@rollup/plugin-alias';
import bundleSize from 'rollup-plugin-bundle-size';
import analyze from 'rollup-plugin-analyzer';
import copy from 'rollup-plugin-copy';

import pkg from './package.json';
const name = 'as-dynamic-forms';
Expand Down Expand Up @@ -93,6 +94,9 @@ function createConfig(format, output, plugins = []) {
}),
tsPlugin,
vue(),
copy({
targets: [{ src: 'src/styles/themes/**/*', dest: 'dist/themes' }],
}),
createReplacePlugin(
isProductionBuild,
isBundlerESMBuild,
Expand Down

0 comments on commit 2b3f19b

Please sign in to comment.