Skip to content

Commit

Permalink
fix: #8846, possible fix
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Nov 6, 2020
1 parent 0b30efb commit 74951f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta/js.js
Expand Up @@ -336,9 +336,9 @@ JS.buildBundle = async function (target, fork) {
client: 'nodebb.min.js',
admin: 'acp.min.js',
};
await mkdirp(path.join(__dirname, '../../build/public'));
await requirejsOptimize(target);
const files = await getBundleScriptList(target);
await mkdirp(path.join(__dirname, '../../build/public'));

files.push({
srcPath: path.join(__dirname, '../../build/public/rjs-bundle-' + target + '.js'),
Expand Down

0 comments on commit 74951f5

Please sign in to comment.