Skip to content

Instantly share code, notes, and snippets.

View qrg's full-sized avatar
🏠
Working from home

Qurage qrg

🏠
Working from home
View GitHub Profile

Webpack

Plugins

  • extract-text-webpack-plugin
    • bundle から テキストを抽出して別ファイルとして書き出す
      • module.rules で指定した拡張子のファイルのバンドルに対して ExtractTextPlugin.extract() で抽出する
      • 書き出すファイルは pluginsnew ExtractTextPlugin('styles.css') のように指定する
  • webpack.DllPlugin
  • 開発時のビルド速度を改善するために使う

Webpack

Plugins

  • extract-text-webpack-plugin
    • bundle から テキストを抽出して別ファイルとして書き出す
      • module.rules で指定した拡張子のファイルのバンドルに対して ExtractTextPlugin.extract() で抽出する
      • 書き出すファイルは pluginsnew ExtractTextPlugin('styles.css') のように指定する
  • webpack.DllPlugin
  • 開発時のビルド速度を改善するために使う
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
#env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
const { ENV_VAR_1, ENV_VAR_2, ENV_VAR_3 } = process.env;
const filterUndefinedVars = (vars: {
[variableName: string]: any;
}): string[] => {
return Object.entries(vars)
.filter(([_k, v]) => typeof v === 'undefined')
.map(([variableName]) => variableName);
};
# remove greeting message
set fish_greeting
# show cwd as full path in a prompt
set --global --export fish_prompt_pwd_dir_length 0
# enviroment variables
# ------------------------------------------------------------------------------
set --global --export LANG 'ja_JP.UTF-8'
set --global --export LESSCHARSET utf-8
--- schema/2024-11-05/schema.ts 2025-03-27 02:23:35
+++ schema/2025-03-26/schema.ts 2025-03-27 02:23:53
@@ -1,11 +1,27 @@
/* JSON-RPC types */
+
+/**
+ * Refers to any valid JSON-RPC object that can be decoded off the wire, or encoded to be sent.
+ */
export type JSONRPCMessage =
| JSONRPCRequest