chore: webpack optimised

poc created with HtmlWebpackPlugin to remove pug files
This commit is contained in:
Nishchit14
2022-10-11 16:29:46 +05:30
parent 5f71a3326a
commit fca1672faa
5 changed files with 63 additions and 23 deletions

View File

@@ -56,12 +56,12 @@ module.exports = async () => {
// exec(`node ${buildPath}/build-scripts/init-package.js`);
// Generate .html
exec(
`pug -O "{ env: '${env}' }" -o ${buildPath} ${path.join(
__dirname,
'../packages/firecamp-core/public/views/'
)}`
);
// exec(
// `pug -O "{ env: '${env}' }" -o ${buildPath} ${path.join(
// __dirname,
// '../packages/firecamp-core/public/views/'
// )}`
// );
// cp(
// '-R',