1
0
mirror of https://github.com/tabler/tabler.git synced 2026-08-09 21:02:22 +04:00

tabler import fixes

This commit is contained in:
codecalm
2019-11-26 07:43:43 +01:00
parent 309fdd55b0
commit e2a15f71cf
4 changed files with 6 additions and 7 deletions
-2
View File
@@ -34,8 +34,6 @@ if (BUNDLE) {
]);
}
console.log('plugins', plugins);
module.exports = {
context: "window",
input: {
+4 -4
View File
@@ -8,7 +8,8 @@
const path = require('path'),
glob = require("glob"),
fs = require("fs"),
sass = require("node-sass");
sass = require("node-sass"),
packageImporter = require('node-sass-package-importer');
glob("scss/tabler*.scss", {}, function (er, files) {
files.forEach(function(file){
@@ -20,7 +21,8 @@ glob("scss/tabler*.scss", {}, function (er, files) {
outFile: `dist/css/${basename}.css`,
sourceMap: true,
sourceMapContents: true,
precision: 6
precision: 6,
importer: packageImporter()
},
(error, result) => {
if (!error) {
@@ -41,6 +43,4 @@ glob("scss/tabler*.scss", {}, function (er, files) {
}
);
});
});