Skip to content

Commit

Permalink
feat: dump tailwindcss to 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
vinicoder committed Oct 27, 2023
1 parent d06e776 commit 53a1d11
Show file tree
Hide file tree
Showing 3 changed files with 609 additions and 217 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"postcss": "8.4.31",
"postcss-css-variables": "0.18.0",
"tailwindcss": "3.2.7"
"tailwindcss": "3.3.2"
},
"devDependencies": {
"@types/node": "18.11.18",
Expand Down
9 changes: 4 additions & 5 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ const buildConfig: BuildOptions = {
define: {
"process.env.DEBUG": "undefined",
"process.env.JEST_WORKER_ID": "1",
"process.env.ENGINE": "stable",
"process.env.OXIDE": "undefined",
__OXIDE__: "undefined",
__dirname: '"/"',
},
supported: {
Expand Down Expand Up @@ -82,11 +81,11 @@ const buildConfig: BuildOptions = {

// COMMONJS
build({
entryPoints: { 'index.cjs': "src/builds/module.ts" },
entryPoints: { "index.cjs": "src/builds/module.ts" },
bundle: true,
minify: true,
logLevel: "info",
outfile: 'dist/index.cjs',
outfile: "dist/index.cjs",
format: "cjs",
...buildConfig,
});
Expand All @@ -97,7 +96,7 @@ build({
bundle: true,
minify: true,
logLevel: "info",
outfile: 'dist/index.mjs',
outfile: "dist/index.mjs",
format: "esm",
...buildConfig,
});
Expand Down
Loading

0 comments on commit 53a1d11

Please sign in to comment.