Updated webpack config for prod builds.

This commit is contained in:
2020-07-18 22:22:20 +02:00
parent 0dd3944fd2
commit 7ce54306b7
7 changed files with 99 additions and 51 deletions

View File

@@ -1,8 +1,8 @@
"use strict";
'use strict';
const path = require("path");
const path = require('path');
const _root = path.resolve(__dirname, "..");
const _root = path.resolve(__dirname, '..');
exports.root = function(args) {
args = Array.prototype.slice.call(arguments, 0);
@@ -11,5 +11,5 @@ exports.root = function(args) {
};
exports.assetsPath = function(_path) {
return path.posix.join("static", _path);
return path.posix.join('static', _path);
};