mirror of
https://github.com/LukeHagar/firecamp.git
synced 2025-12-09 12:27:44 +00:00
chore: webpack optimised
poc created with HtmlWebpackPlugin to remove pug files
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user