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:
@@ -34,8 +34,6 @@ if (BUNDLE) {
|
||||
]);
|
||||
}
|
||||
|
||||
console.log('plugins', plugins);
|
||||
|
||||
module.exports = {
|
||||
context: "window",
|
||||
input: {
|
||||
|
||||
@@ -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) {
|
||||
}
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user