@timus-networks/theme 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/convert-sass.js +1 -1
- package/module.js +3 -3
- package/output/main.css.map +1 -0
- package/package.json +3 -2
- package/main.css.map +0 -1
- /package/{main.css → output/main.css} +0 -0
package/convert-sass.js
CHANGED
|
@@ -4,7 +4,7 @@ const sass = require('sass');
|
|
|
4
4
|
const path = require('path');
|
|
5
5
|
|
|
6
6
|
const scssPath = path.resolve(__dirname, 'scss/main.scss');
|
|
7
|
-
const cssPath = path.resolve(__dirname, 'main.css');
|
|
7
|
+
const cssPath = path.resolve(__dirname, 'output/main.css');
|
|
8
8
|
|
|
9
9
|
exec(`sass ${scssPath} ${cssPath}`, (err, stdout, stderr) => {
|
|
10
10
|
if (err) {
|
package/module.js
CHANGED
|
@@ -27,10 +27,10 @@ export default function (moduleOptions) {
|
|
|
27
27
|
});
|
|
28
28
|
|
|
29
29
|
this.nuxt.hook('build:before', async (nuxt) => {
|
|
30
|
-
const sourceDir = resolve(__dirname, './
|
|
31
|
-
const destDir = resolve(this.options.srcDir, 'static/
|
|
30
|
+
const sourceDir = resolve(__dirname, './output/');
|
|
31
|
+
const destDir = resolve(this.options.srcDir, 'static/style/');
|
|
32
32
|
await copyDirectory(sourceDir, destDir);
|
|
33
|
-
this.options.css.push('@/static/
|
|
33
|
+
this.options.css.push('@/static/style/main.css');
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
// Assest'si, static fonts altına iconsax olarak gönderiyorum ve nuxt.config'in css'ine ekliyorum
|