Skip to content

Commit

Permalink
fix: rollup is capable of finding imports without file ending again
Browse files Browse the repository at this point in the history
reason: wrong order of plugin-calls, hint: rollup/plugins#95 (comment)
  • Loading branch information
wridgeu committed Dec 21, 2021
1 parent b88222d commit fc438e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import resolve from "@rollup/plugin-node-resolve";
import { nodeResolve } from "@rollup/plugin-node-resolve";
import typescript from '@rollup/plugin-typescript';
import { terser } from 'rollup-plugin-terser';
import multiInput from 'rollup-plugin-multi-input';
Expand All @@ -11,12 +11,12 @@ export default {
dir: 'dist/js/'
},
plugins: [
resolve(),
multiInput(),
typescript({
module: 'ESNext'
}),
nodeResolve(),
terser(),
multiInput(),
copy({
targets: [
{
Expand Down
8 changes: 4 additions & 4 deletions src/options.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '@ui5/webcomponents/dist/CheckBox.js';
import '@ui5/webcomponents/dist/Select.js';
import '@ui5/webcomponents/dist/Option.js';
import '@ui5/webcomponents/dist/Label.js';
import '@ui5/webcomponents/dist/CheckBox';
import '@ui5/webcomponents/dist/Select';
import '@ui5/webcomponents/dist/Option';
import '@ui5/webcomponents/dist/Label';
import { Defaults } from '../types';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/popup.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '@ui5/webcomponents/dist/Slider.js';
import '@ui5/webcomponents/dist/Slider';
import { ChromeMessagingRequestAction, ChromeMessagingResponse, UI5Slider } from '../types';

document.addEventListener('DOMContentLoaded', () => {
Expand Down

0 comments on commit fc438e4

Please sign in to comment.