swatchkit 0.0.13 → 0.0.15
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/build.js +8 -0
- package/package.json +1 -1
package/build.js
CHANGED
|
@@ -243,6 +243,14 @@ function runInit(settings, options) {
|
|
|
243
243
|
console.log(`Created starter stylesheet at ${settings.stylesCssFile}`);
|
|
244
244
|
}
|
|
245
245
|
|
|
246
|
+
// Copy CSS Reset
|
|
247
|
+
const resetSrc = path.join(__dirname, 'src/blueprints/reset.css');
|
|
248
|
+
const resetDest = path.join(settings.cssDir, 'reset.css');
|
|
249
|
+
if (fs.existsSync(resetSrc) && !fs.existsSync(resetDest)) {
|
|
250
|
+
fs.copyFileSync(resetSrc, resetDest);
|
|
251
|
+
console.log(`Created CSS reset at ${resetDest}`);
|
|
252
|
+
}
|
|
253
|
+
|
|
246
254
|
// Copy Compositions
|
|
247
255
|
const compositionsSrc = path.join(__dirname, 'src/blueprints/compositions');
|
|
248
256
|
const compositionsDest = path.join(settings.cssDir, 'compositions');
|