nextui/packages/react/buildconfig/webpack.dev.js
2022-01-01 18:56:14 -03:00

12 lines
284 B
JavaScript

const common = require('./webpack.common');
const { merge } = require('webpack-merge');
const path = require('path');
const sourcePath = path.join(__dirname, '../src');
module.exports = merge(common, {
watch: true,
entry: {
index: path.join(sourcePath, 'index.ts'),
},
});