Added new_site as a raw tailwind+html site; initialized npm modules; demo template
This commit is contained in:
13
new_site/node_modules/@parcel/watcher/scripts/build-from-source.js
generated
vendored
Normal file
13
new_site/node_modules/@parcel/watcher/scripts/build-from-source.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
const {spawn} = require('child_process');
|
||||
|
||||
if (process.env.npm_config_build_from_source === 'true') {
|
||||
build();
|
||||
}
|
||||
|
||||
function build() {
|
||||
spawn('node-gyp', ['rebuild'], { stdio: 'inherit', shell: true }).on('exit', function (code) {
|
||||
process.exit(code);
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user