Compare commits

..

No commits in common. "ad2384e4de274b18304e5f18c7d63ee43c2feec4" and "14101375511c10d6ccf67ed0780dd839a2eb03f1" have entirely different histories.

5 changed files with 3 additions and 7277 deletions

7263
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
import path from 'path';
//import commonjs from '@rollup/plugin-commonjs';
import terser from "@rollup/plugin-terser";
import { terser } from "rollup-plugin-terser";
export default {
input: path.resolve('src', 'app.js'),
@ -9,8 +9,5 @@ export default {
format: 'es',
generatedCode: 'es2015'
},
plugins: [
//commonjs(),
terser()
]
plugins: [/*commonjs(),*/ terser()]
};

View File

@ -36,11 +36,10 @@ fi
npm run bundle
echo "Bundling javascript..."
export NODE_ENV='production'
npx webpack
chmod +x ./build/22120.js
echo "Building for windows nix and macos..."
npx pkg --compress Gzip .
pkg --compress Brotli .
echo "Restoring dev (ES module) mode..."
./scripts/go_dev.sh

View File

@ -1,4 +0,0 @@
#!/usr/bin/env bash
echo "Post install script"
npm i -g rollup eslint

View File

@ -7,9 +7,6 @@ module.exports = {
path: path.resolve(__dirname, 'build'),
filename: "22120.js"
},
optimization: {
minimize: false
},
target: "node",
node: {
__dirname: false