Move the build system and package files out of the extension directory.

This keeps the node_modules out of the extension package.
This commit is contained in:
David Wendt 2019-08-25 16:31:54 -06:00
parent ce5ab95a9a
commit cdf50e29bd
4 changed files with 2 additions and 2 deletions

View File

@ -11,9 +11,9 @@ module.exports = (env, argv) => {
console.log(`Building ${mode}...`);
return {
entry: path.resolve(__dirname, "js/index.js"),
entry: path.resolve(__dirname, "extension/js/index.js"),
output: {
path: path.resolve(__dirname, "dist"),
path: path.resolve(__dirname, "extension/dist"),
filename: "ruffle.js",
},
mode: mode,