Skip to content

Commit

Permalink
Update to type:module in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
calebeby committed Dec 19, 2023
1 parent 2808b4f commit 0740f13
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 32 deletions.
18 changes: 0 additions & 18 deletions .babelrc.output.js

This file was deleted.

14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"prompts": "1.2.1",
"rollup": "3.11.0",
"sharp": "0.29.2",
"templite": "1.1.0",
"templite": "1.2.0",
"type-fest": "0.21.3",
"typescript": "4.9.4",
"vite": "4.0.4"
Expand Down Expand Up @@ -146,5 +146,6 @@
"semi": false,
"singleQuote": true,
"trailingComma": "all"
}
},
"type": "module"
}
7 changes: 2 additions & 5 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
const { createHash } = require('crypto')

const prod = process.env.NODE_ENV === 'production'

const variables = {
'--pigmice-purple': '#800080',
'--light-grey': '#E8E8E8',
Expand All @@ -13,7 +9,7 @@ const variables = {
'--focus-ring': '#0044ff40',
}

module.exports = {
const config = {
modules: true,
plugins: {
'postcss-nesting': {},
Expand All @@ -36,3 +32,4 @@ module.exports = {
'postcss-color-mod-function': {},
},
}
export default config

0 comments on commit 0740f13

Please sign in to comment.