1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 09:24:24 +04:00

Refactor Dockerfile and package.json (#2089)

This commit is contained in:
Paweł Kuna
2025-01-27 22:32:25 +01:00
committed by GitHub
parent 2b42568ce7
commit 2c7c448108
4 changed files with 8 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Refactor Dockerfile and package.json

View File

@@ -17,4 +17,4 @@ EXPOSE 3000
# website management (browser auto reload)
EXPOSE 3001
# run tabler
ENTRYPOINT [ "pnpm", "run", "start-plugins" ]
ENTRYPOINT [ "pnpm", "run", "start" ]

View File

@@ -69,7 +69,7 @@ gulp.task('clean-dirs', () => {
*/
gulp.task('sass', () => {
return gulp
.src(argv.withPlugins || BUILD ? `${srcDir}/scss/!(_)*.scss` : `${srcDir}/scss/+(tabler|demo).scss`)
.src(`${srcDir}/scss/!(_)*.scss`)
.pipe(debug())
.pipe(sass({
includePaths: ['node_modules'],

View File

@@ -4,9 +4,8 @@
"description": "Premium and Open Source dashboard template with responsive and high quality UI.",
"homepage": "https://tabler.io",
"scripts": {
"dev": "pnpm run start-plugins",
"dev": "pnpm run start",
"start": "gulp start",
"start-plugins": "gulp start --with-plugins",
"build": "gulp build",
"build-docs": "mkdir public && touch public/index.html && echo 'ok'",
"preview": "gulp build --preview",