Skip to content

Commit

Permalink
chore: improve building
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodin committed Sep 4, 2021
1 parent 27e3af8 commit 3022907
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup.config.js
Expand Up @@ -22,7 +22,6 @@ module.exports = {
tsconfig: require.resolve('./tsconfig.build.json'),
}),
cleanup({
comments: [/#__INLINE__/, /#__PURE__/],
extensions,
}),
copy({
Expand All @@ -37,7 +36,8 @@ module.exports = {
injectCode({
'adoptedStyleSheets.js': {
line: 3,
code: " if (typeof document === 'undefined' || 'adoptedStyleSheets' in document) { return; }\n",
code:
" if (typeof document === 'undefined' || 'adoptedStyleSheets' in document) { return; }\n",
},
}),
],
Expand Down

0 comments on commit 3022907

Please sign in to comment.