@madgex/fert 1.3.0 → 1.4.1
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/.prettierrc.js
CHANGED
package/bin/cli.js
CHANGED
|
@@ -30,7 +30,7 @@ const run = () => {
|
|
|
30
30
|
.action((...args) => require('./commands/build.js')(...args));
|
|
31
31
|
|
|
32
32
|
cli
|
|
33
|
-
.command('publish [root]', 'Publish project
|
|
33
|
+
.command('publish [root]', 'Publish the project')
|
|
34
34
|
.option('--target <env>', 'Environment to publish to, "dev" or "prod"')
|
|
35
35
|
.action((...args) => require('./commands/publish')(...args));
|
|
36
36
|
|
package/package.json
CHANGED
|
@@ -33,6 +33,16 @@ module.exports = {
|
|
|
33
33
|
input: options.entry,
|
|
34
34
|
},
|
|
35
35
|
},
|
|
36
|
+
css: {
|
|
37
|
+
preprocessorOptions: {
|
|
38
|
+
scss: {
|
|
39
|
+
additionalData: `
|
|
40
|
+
@import "../../public/tokens/scss/index.scss";
|
|
41
|
+
@import "@madgex/design-system/src/scss/import.scss";
|
|
42
|
+
`, // all scss processed files gets this injected at the top
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
},
|
|
36
46
|
});
|
|
37
47
|
|
|
38
48
|
await server.app.viteServer.listen();
|