This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
// https://github.com/storybookjs/storybook/issues/14342 | |
// https://webpack.js.org/contribute/plugin-patterns/#monitoring-the-watch-graph | |
/** | |
* Logs the last changed files during webpack rebuilds. | |
*/ | |
class WebpackLastFilesLoggerPlugin { | |
constructor() { | |
this.startTime = Date.now(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const PLUGIN_NAME = 'MY_WEBPACK_PLUGIN'; | |
class MyWebpackPlugin { | |
constructor() { | |
this.cssReady = false; | |
this.cssFiles = []; | |
} | |
apply(compiler) { | |
compiler.hooks.watchRun.tap(PLUGIN_NAME, () => { | |
this.cssReady = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#### Contents of the preconfiguration file (for buster) | |
### Localization | |
# Preseeding only locale sets language, country and locale. | |
#d-i debian-installer/locale string en_US | |
# The values can also be preseeded individually for greater flexibility. | |
d-i debian-installer/language string en | |
d-i debian-installer/country string EC | |
d-i debian-installer/locale string en_US.UTF-8 | |
# Optionally specify additional locales to be generated. |