mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 06:32:39 +00:00
Starting to set up the snippets
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
//DEPRICATE
|
||||
|
||||
const less = require('less');
|
||||
const fs = require('fs');
|
||||
|
||||
|
||||
console.log('you should not b using this');
|
||||
|
||||
|
||||
less.render(fs.readFileSync('./client/homebrew/phbStyle/phb.style.less', 'utf8'), {compress : true})
|
||||
.then((output) => {
|
||||
fs.writeFileSync('./phb.standalone.css', output.css);
|
||||
console.log('phb.standalone.css created!');
|
||||
}, (err) => {
|
||||
console.error(err);
|
||||
});
|
||||
4
scripts/snippet.test.js
Normal file
4
scripts/snippet.test.js
Normal file
@@ -0,0 +1,4 @@
|
||||
const snippets = require('../shared/homebrewery/snippets/brew');
|
||||
|
||||
|
||||
console.log(snippets.phb.spell.gen());
|
||||
Reference in New Issue
Block a user