Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronny Krammer committed Jan 30, 2022
1 parent a3ba79e commit ca5c4c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esbuild.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import cssFocusVisible from 'postcss-focus-visible';
import tailwindcss from 'tailwindcss';
import tailwindConfig from './tailwind.config.js';
import autoprefixer from 'autoprefixer';
import nodeExternalsPlugin from 'esbuild-node-externals';
import { nodeExternalsPlugin } from 'esbuild-node-externals';

const allSrcFiles = glob.sync('./src/**/*+(.ts|.tsx|.css|.svg|.png|.jpg|.jpeg|.gif)');
const documentationFiles = glob.sync('./src/**/*documentation*/*');
Expand All @@ -24,7 +24,6 @@ const commonOptions = {
minify: true,
sourcemap: true,
loader: { '.png': 'dataurl' },
splitting: true,
plugins: [
nodeExternalsPlugin(),
fileImport(),
Expand Down Expand Up @@ -65,6 +64,7 @@ const cjsOptions = {
const esmOptions = {
...commonOptions,
format: 'esm',
splitting: true,
target: ['esnext'],
outdir: './dist/esm',
};
Expand Down

0 comments on commit ca5c4c5

Please sign in to comment.