Skip to content

Commit

Permalink
Merge pull request #49 from javierbrea/chore-deps
Browse files Browse the repository at this point in the history
chore(deps): Update devDependencies
  • Loading branch information
javierbrea authored Aug 30, 2022
2 parents 8dedd8a + 9fc86c5 commit 6d612d8
Show file tree
Hide file tree
Showing 5 changed files with 2,585 additions and 2,515 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: ["12.22.1", "14.16.1", "16.13.0", "17.0.1"]
node: ["14.16.1", "16.13.0", "17.0.1", "18.2.0"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
runs-on: windows-2019
strategy:
matrix:
node: ["12.22.1", "14.16.1", "16.13.0", "17.0.1"]
node: ["14.16.1", "16.13.0", "17.0.1", "18.2.0"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Removed
### BREAKING CHANGES

## [unreleased]

### Added
- docs: Add Webpack config alternative to docs

### Changed
- chore(deps): Update devDependencies

### Removed
- chore: Drop support for Node.js 10.x and 12.x. Add tests using Node.js 18.x.

## [1.2.0] - 2022-01-27

### Changed
Expand Down
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,29 @@ module.exports = () => ({
});
```

## Alternatives

### Webpack

If you are using Webpack and [sass-loader](https://github.com/webpack-contrib/sass-loader), you can use the Webpack's `resolve.alias` option directly:

```js
// webpack.config.js

module.exports = {
//...
resolve: {
alias: {
themes: path.resolve(__dirname, "src/styles/themes"),
variables: path.resolve(__dirname, "src/styles/variables/index")
},
},
};

```



## License

MIT, see [LICENSE](./LICENSE) for details.
Expand Down
Loading

0 comments on commit 6d612d8

Please sign in to comment.