🐞 fix: Update npm stack for bootstrap install
All checks were successful
Sync TODOs with Issues / sync_todos (push) Successful in 6s
All checks were successful
Sync TODOs with Issues / sync_todos (push) Successful in 6s
This commit is contained in:
10
.vscode/settings.json
vendored
10
.vscode/settings.json
vendored
@@ -3,6 +3,14 @@
|
|||||||
"tree.indentGuidesStroke": "#3d92ec",
|
"tree.indentGuidesStroke": "#3d92ec",
|
||||||
"activityBar.background": "#213309",
|
"activityBar.background": "#213309",
|
||||||
"titleBar.activeBackground": "#2E470C",
|
"titleBar.activeBackground": "#2E470C",
|
||||||
"titleBar.activeForeground": "#F6FCEE"
|
"titleBar.activeForeground": "#F6FCEE",
|
||||||
|
"titleBar.inactiveBackground": "#213209",
|
||||||
|
"titleBar.inactiveForeground": "#F7FCEF",
|
||||||
|
"statusBar.background": "#213209",
|
||||||
|
"statusBar.foreground": "#F7FCEF",
|
||||||
|
"statusBar.debuggingBackground": "#213209",
|
||||||
|
"statusBar.debuggingForeground": "#F7FCEF",
|
||||||
|
"statusBar.noFolderBackground": "#213209",
|
||||||
|
"statusBar.noFolderForeground": "#F7FCEF"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ const cwd = path.resolve("..");
|
|||||||
module.exports.tailwindToCSS = debounce(() => {
|
module.exports.tailwindToCSS = debounce(() => {
|
||||||
try {
|
try {
|
||||||
require("child_process").execSync(
|
require("child_process").execSync(
|
||||||
`npx @tailwindcss/cli -i styles/theme.css -o static/dist/theme.css`,
|
`./node_modules/.bin/tailwindcss -i styles/theme.css -o static/dist/theme.css`,
|
||||||
{ stdio: "inherit" }
|
{ stdio: "inherit" }
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run watch",
|
"start": "npm run watch",
|
||||||
"watch": "node bin/.watch.js",
|
"watch": "node bin/.watch.js",
|
||||||
"build": "npx @tailwindcss/cli -i ./styles/theme.css -o ./static/dist/theme.css --optimize"
|
"build": "@tailwindcss/cli -i ./styles/theme.css -o ./static/dist/theme.css --optimize"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
Reference in New Issue
Block a user