Skip to content
This repository was archived by the owner on Dec 13, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions source/guide/app-pre-processors-and-webpack.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ build: {

And you're done.

### Web worker Support Hotfix (https://github.com/webpack/webpack/issues/6642):
```
// quasar.conf
extendWebpack (cfg) {
cfg.output.globalObject = 'this'
}
```

## SASS/SCSS support
So you want to be able to write SASS/SCSS CSS code. You need a loader for it. We first install it. Note that for this particular case you also need to install node-sass because sass-loader depends on it as a peer dependency.

Expand Down
14 changes: 12 additions & 2 deletions source/guide/app-quasar.conf.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ build: {
}
}
```

Equivalent with chainWebpack():
```js
// quasar.conf.js
Expand All @@ -255,4 +254,15 @@ build: {
.set('myalias', path.resolve(__dirname, './src/somefolder'))
}
}
```

#### Fixing Global Object availability for Web Workers

```js
// quasar.conf.js

build: {
extendWebpack (cfg) {
cfg.output.globalObject = 'this'
}
}
``````
2 changes: 2 additions & 0 deletions source/guide/quasar-upgrade-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ $ yarn # or: npm install
* QIcon: removed "mat" & "ios" props for performance reasons (use `:name="$q.theme === 'mat' ? val : otherVal"` instead)
* Removed utils > dom > viewport() method (use window.innerHeight/innerWidth instead)
* Updated Quasar ionicons set to Ionicons v4 -- compatible with quasar-extras@2.0
* [Web Workers break Upstream Hot Module Reload HMR] (https://github.com/webpack/webpack/issues/6642)
* [Web Workers require update to webpack.cfg] (/guide/app-quasar.conf.js.html) for quasar.conf.js

## Upgrading pre v0.15 to Quasar v0.15+
There's been A LOT of work done for v0.15. The Quasar CLI has been rewritten from scratch to allow for a stellar development experience (Mobile App developers and Electron will fall in love with it!). Only one starter kit is required in order to handle websites, PWAs, Mobile Apps and Electron Apps. Building any of those is a matter of just adding a parameter to the dev/build command.
Expand Down