Skip to content

Commit

Permalink
Don't include test files in main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo committed Jan 2, 2023
1 parent fbad481 commit 61fad3a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import commonjs from 'rollup-plugin-commonjs';
import { uglify } from 'rollup-plugin-uglify';

export default [{
input: { include: ['src/shared/utilities/js/polyfills/*.js', 'src/**/*.js'] },
input: {
include: ['src/shared/utilities/js/polyfills/*.js', 'src/**/*.js'],
exclude: ['src/**/*.test.js'],
},
onwarn: (warning) => {
// Skip certain warnings
if (warning.code === 'THIS_IS_UNDEFINED') {
Expand Down

0 comments on commit 61fad3a

Please sign in to comment.