[![][HDD_gif]][HDD_link] ~ 1 minute 26 sec
[![][SSD_gif]][SSD_link] ~ 20 sec
The node_modules
in this project consisted of ~16k files and ~70MB
import { spawn } from 'child_process' | |
const cp = spawn('node', ['pong.mjs'], { shell: true }) | |
cp.stdout.pipe(process.stdout) | |
cp.stderr.pipe(process.stderr) | |
process.stdin.pipe(cp.stdin) |
Windows Registry Editor Version 5.00 | |
; See https://superuser.com/questions/1163025/no-option-to-disable-smartsense-in-synaptics-touchpad-driver/1384982#1384982 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Synaptics\SynTP\Defaults] | |
"PalmKms0"=dword:00000000 | |
"PalmKms0g"=dword:00000000 | |
"PalmKms0p"=dword:00000000 | |
"PalmKms1"=dword:00000000 | |
"PalmKms1g"=dword:00000000 |
const serve = require('webpack-serve'); | |
serve({ config: {} }); |
if {<%isfile%>} == {true} ? { | |
if {<%disksizebytes%>} > {100000000} ? | |
{ [{leftpad{<%disksize%>}{ }{8}}] <%file%>{&br} } | |
}:{ | |
if {<%containsfiles%>} == {true} ? { | |
if {<%disksizebytes%>} > {10000000000} ? | |
{ {&br}<%pathfile%> [<%disksize%>]{&br} } | |
} | |
} |
"use strict"; | |
const __non_webpack_module__ = module; | |
const __non_webpack_filename__ = __filename; | |
module.exports = | |
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"/> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<title>Webpack Bundle Analyzer</title> | |
<!-- viewer.js --> | |
<script> |
(() => { | |
const q = (e, s) => e.querySelector(s); | |
const qA = (e, s) => e.querySelectorAll(s); | |
const num = e => parseInt(e.nextSibling.wholeText.trim()) | |
const d = document.querySelector('.js-discussion.js-socket-channel'); | |
/* uncomment one of these to sort by */ | |
const sortBy = '+1'; | |
// const sortBy = '-1'; | |
// const sortBy = 'smile'; |
I tried installing
sudo add-apt-repository ppa:webupd8team/sublime-text-3
sudo apt-get update
sudo apt-get install sublime-text-installer
but it gives error (full error below)
... (skipping lines that were ok)
Setting up sublime-text-installer (3114-2webupd80) ...
Install & run:
npm i [email protected]
./node_modules/.bin/webpack
Output with UglifyJsPlugin
Asset Size Chunks Chunk Names
index.min.js 2.59 kB 0 [emitted] main