Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (DEV) {
- const webpack = require('webpack');
- const clientConfig = require('../configs/client.config')({ isDev: true });
- const compiler = webpack(clientConfig);
- app.use(require('webpack-dev-middleware')(compiler, {
- noInfo: false,
- publicPath: clientConfig.output.publicPath,
- stats: 'errors-only'
- }));
- }
- {
- "compilerOptions": {
- "outDir": "./dist/",
- "sourceMap": true,
- "noImplicitAny": true,
- "module": "commonjs",
- "target": "es5",
- "jsx": "react"
- },
- "awesomeTypescriptLoaderOptions": {
- "silent": true,
- "useBabel": true
- },
- "include": [
- "./src/**/*"
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement