diff --git a/index.js b/index.js index e12d254..7b8697b 100644 --- a/index.js +++ b/index.js @@ -250,13 +250,6 @@ const generateRollupConfig = function(options) { /* all rollup builds by name. note only object values will be used */ const builds = { - test: makeBuild('test', { - output: [{ - name: `${settings.exportName}Tests`, - file: 'test/dist/bundle.js', - format: 'iife' - }] - }), browser: makeBuild('browser', { output: [{ name: settings.exportName, @@ -270,6 +263,13 @@ const generateRollupConfig = function(options) { // remove .min.js output if should change watch is true }].filter((o) => !(MINJS_REGEX.test(o.file) && shouldChangeWatch(settings))) }), + test: makeBuild('test', { + output: [{ + name: `${settings.exportName}Tests`, + file: 'test/dist/bundle.js', + format: 'iife' + }] + }), module: makeBuild('module', { output: [{ file: `dist/${settings.distName}.cjs.js`,