ambar
ambar
## Name of the extension you are adding - [Bundle Size](https://marketplace.visualstudio.com/items?itemName=ambar.bundle-size) - [Live Code](https://marketplace.visualstudio.com/items?itemName=ambar.live-code) ## Why do you think this extension is awesome? They are fast and convenient. ## Make...
防止 npm/github 安装默认装了几十个依赖。
'请' means 'please', it's unnecessary.
https://github.com/catamphetamine/universal-webpack/blob/a5f30556af5cc658acb5189c7f10a5643c085a3a/source/server%20configuration.js#L325-L331 > https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md#200-2018-12-07 > css-loader/locals was dropped in favor exportOnlyLocals option
## Before ``` Running "filerev:compile" (filerev) task Revved 1 file Running "filerev:withConfig" (filerev) task Revved 1 file Running "filerev:withDest" (filerev) task Revved 1 file Running "filerev:withExpand" (filerev) task Revved 1...
## Input: ```js const html = ` a a1 a2 b c ` console.info(convertToHTML(convertFromHTML(html))) ``` ## Output ```html a a1 a2 b c ```
在 npm 不支持 workspace 之前 ,yarn 可能是必要的选择,当前 fork 这个项目使用 npm 安装太久了(几十分钟没装好),而 yarn 安装只要不到一分钟,并且它们的磁盘占用空间差别巨大: ```console ➜ wxa du -hs mina-webpack-npm 885M mina-webpack-npm ➜ wxa du -hs mina-webpack-yarn 278M mina-webpack-yarn ``` yarn...
初学 AngularJS,发现两个错误: - 第一次出现的 `$scope.needed = $scope.startingEstimate * 10;` 两个属性应该都引用自 `$scope.funding` ——这个例子比较奇怪,前后不一致,没有进行解释,然后在后面出现的例子又有不是从 funding 引用的。 - `ng-class='selected: $index==selectedRow'` 应该是 `ng-class="{selected: $index==selectedRow}"`
- 测试:babel-cli 应该加到 dev deps 不然测试无法运行、修复了三处测试运行中的错误 - 修复:https://github.com/chameleon-team/chameleon-api/commit/6c6d2f6bdc2e7ed530b4f293eb893e16f8629b1a 中错误将 path decode 了,这会导致参数丢失,撤销它的改动,并补充测试 ## 问题 当前 cml.navigateTo API 会丢失参数,而使用 navigator 组件不会。 通常我们使用 webview 的时候会有自定义参数需要透传,像这样: ```xhtml Page({ data: { encodedUrl: encodeURIComponent('https://www.example.com/?foo=1&bar=2'), }...