-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.js
More file actions
27 lines (21 loc) · 788 Bytes
/
script.js
File metadata and controls
27 lines (21 loc) · 788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
const webpack = require('webpack')
const webpackConfig = require('./webpack.config')
// const babelServerConfig = require('./.babelrc.server.json')
const nodemon = require('nodemon')
webpackConfig[0].mode = 'development'
console.log(
'\x1b[38;2;31;240;255mMade By SmokeTrees with \x1b[38;2;250;33;33m%s\x1b[0m\n\n',
'❤'
)
console.log('\x1b[38;2;31;240;255mAuthors:\x1b[0m')
console.log(
'\x1b[38;2;31;240;255mAnshuman Chhapolia \thttps://github.com/achhapolia10 \x1b[0m\n\n'
)
nodemon({
ext: 'css,js,jsx,ejs,cjs,ts,json,mjs,tsx,ts',
exec: 'babel-node --config-file ./.babelrc.server.json -x ".tsx,.ts"',
delay: '500ms',
script: './src/server.ts',
watch: './src',
ignore: ['./src/static', './src/pages', './src/components', './src/entrypoints', './src/utils']
})