Ver código fonte

Refactor Dockerfile and package.json (#2089)

Paweł Kuna 7 meses atrás
pai
commit
2c7c448108
4 arquivos alterados com 8 adições e 4 exclusões
  1. 5 0
      .changeset/seven-islands-act.md
  2. 1 1
      Dockerfile
  3. 1 1
      gulpfile.js
  4. 1 2
      package.json

+ 5 - 0
.changeset/seven-islands-act.md

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

+ 1 - 1
Dockerfile

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

+ 1 - 1
gulpfile.js

@@ -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'],

+ 1 - 2
package.json

@@ -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",