Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Nov 13, 2023
1 parent d3c793e commit 597896f
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ export default defineConfig({
fileName: 'css-anchor-positioning-wpt',
}
: process.env.BUILD_FN
? // build that exposes the polyfill as a fn
{
entry: resolve(__dirname, 'src/index-fn.ts'),
name: 'CssAnchorPositioning',
// the proper extensions will be added
fileName: 'css-anchor-positioning-fn',
}
: // build that runs the polyfill on import
{
entry: resolve(__dirname, 'src/index.ts'),
name: 'CssAnchorPositioning',
// the proper extensions will be added
fileName: 'css-anchor-positioning',
},
? // build that exposes the polyfill as a fn
{
entry: resolve(__dirname, 'src/index-fn.ts'),
name: 'CssAnchorPositioning',
// the proper extensions will be added
fileName: 'css-anchor-positioning-fn',
}
: // build that runs the polyfill on import
{
entry: resolve(__dirname, 'src/index.ts'),
name: 'CssAnchorPositioning',
// the proper extensions will be added
fileName: 'css-anchor-positioning',
},
emptyOutDir: !process.env.BUILD_FN,
target: 'es6',
sourcemap: true,
Expand Down

0 comments on commit 597896f

Please sign in to comment.