@pandacss/postcss 0.17.1 → 0.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/entry.js +3 -2
- package/package.json +3 -8
package/entry.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// check if we're running in dev mode
|
|
2
2
|
const fs = require('fs')
|
|
3
|
-
const
|
|
3
|
+
const path = require('path')
|
|
4
|
+
const srcPath = path.resolve(path.join(__dirname, './src'))
|
|
5
|
+
const isDevMode = fs.existsSync(srcPath)
|
|
4
6
|
// or want to "force" running the compiled version with PANDA_CLI_MODE=compiled
|
|
5
7
|
const wantsCompiled = process.env.PANDA_CLI === 'compiled'
|
|
6
8
|
|
|
@@ -10,7 +12,6 @@ if (wantsCompiled || !isDevMode) {
|
|
|
10
12
|
// this runs from the compiled javascript source
|
|
11
13
|
plugin = require(`./dist/index.js`)
|
|
12
14
|
} else {
|
|
13
|
-
const path = require('path')
|
|
14
15
|
const workspacePackagesDir = path.resolve(__dirname, '..')
|
|
15
16
|
const symlink = require('@pandacss/symlink')
|
|
16
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pandacss/postcss",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.3",
|
|
4
4
|
"description": "PostCSS integration for Panda CSS",
|
|
5
5
|
"main": "entry.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,13 +27,8 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"postcss": "^8.4.31",
|
|
30
|
-
"@pandacss/node": "0.17.
|
|
31
|
-
"@pandacss/symlink": "0.17.
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"pirates": "^4.0.6",
|
|
35
|
-
"resolve.exports": "^2.0.2",
|
|
36
|
-
"sucrase": "^3.34.0"
|
|
30
|
+
"@pandacss/node": "0.17.3",
|
|
31
|
+
"@pandacss/symlink": "0.17.3"
|
|
37
32
|
},
|
|
38
33
|
"scripts": {
|
|
39
34
|
"build": "tsup src/index.ts --format=cjs,esm --shims --dts",
|