-
``` js
{
loader: 'wrap',
options: {
before: 'BEFORE',
after: 'AFTER'
}
},
```
-
Hi,
I have trouble to bundle deck.gl into my app, The error I got is:
> ERROR in ./node_modules/deck.gl/package.json
> Module parse failed: Unexpected token (5:9)
> You may need an appropriate…
-
我引用了一个第三方的组件,使用的是scss。我想编译的时候把less和scss的样式整合在一起。需要在
webpack.config.js里做什么配置吗?
**我现在的做法**
> 在webpack.config.js加入scss的加载器
> webpackConfig.module.loaders.unshift({test: /.scss$/, loader: "style!css!sas…
-
TypeError: Cannot read property 'bold' of undefined
at E. (wangEditor.js:3606)
at Function. (wangEditor.js:3585)
at Function.each (jquery.min.js:2)
at E.fn.addMenus (wangEditor.js:…
-
请问下,这个不是webpack3才加的特性么,为什么项目在webpack2.4.1下能生效,我在2.6.0版本的webpack下试了build后chunk的名字也没变,百思不得其解
-
因为项目使用了 vue 1.x 版本,在安装了最新版的 webpack 2.x 版本之后,导致编译报错。
排查发现是因为 .vue 文件内部的 style 标签使用了 lang="less" 之后才会报错。
body {
background-color: #f00;
}
package.json 依赖如下:
{
"dependencies": {
"…
yanjb updated
7 years ago
-
Vue2, Webpack2 error:
Unexpected token: operator (>) [./~/vue-strap/src/utils/utils.js:4,0]
-
We use a tool for transforming modular code to browser-friendly "bundles". Currently that is Browserify (driven by Gulp and Babelify). We want to migrate to Webpack2, which works faster, has better co…
-
Hi,
when I use webpack2 and require("flux-angular") I got the error `Cannot assign to read only property 'exports' of object`.
the reason is here #https://github.com/webpack/webpack/issues/4039
m…
-
**Do you want to request a *feature* or report a *bug*?**
Bug
**What is the current behavior?**
webpack failing to match directiories due to casing issues.
**If the current behavio…