Skip to content

Commit

Permalink
v1.2.1: Updates dependencies & Misc housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
birdofpreyru committed Nov 7, 2022
1 parent 1aa7354 commit d9b8775
Show file tree
Hide file tree
Showing 7 changed files with 280 additions and 457 deletions.
Binary file added .README/sponsor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: birdofpreyru
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18.12.1
6 changes: 3 additions & 3 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)
# The MIT License (MIT)

Copyright (c) 2020 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio) \
Copyright (c) 2015-2016 Jake Murzy
Copyright &copy; 2020&ndash;2022 Dr. Sergey Pogodin <doc@pogodin.studio> (https://dr.pogodin.studio) \
Copyright &copy; 2015&ndash;2016 Jake Murzy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
# Babel Plugin Transform Assets

_This is a fork of [`babel-plugin-transform-assets`](https://www.npmjs.com/package/babel-plugin-transform-assets) upgraded to be compatible with the latest Webpack's `file-loder`, and to use the latest versions of all dependencies. For migration just prefix the plugin name with `@dr.pogodin/` scopename in your `package.json` and Babel configs._
[![Latest NPM Release](https://img.shields.io/npm/v/@dr.pogodin/babel-plugin-transform-assets.svg)](https://www.npmjs.com/package/@dr.pogodin/babel-plugin-transform-assets)
[![NPM Downloads](https://img.shields.io/npm/dm/@dr.pogodin/babel-plugin-transform-assets.svg)](https://www.npmjs.com/package/@dr.pogodin/babel-plugin-transform-assets)
[![GitHub Repo stars](https://img.shields.io/github/stars/birdofpreyru/babel-plugin-transform-assets?style=social)](https://github.com/birdofpreyru/babel-plugin-transform-assets)

Transforms importing of asset files at compile time using Babel. This plugin removes the need to run your server code through [Webpack](https://github.com/webpack/webpack) module bundler when using loaders such as file-loader, url-loader and building <s>isomorphic</s> universal apps. Aids in creating a cleaner, maintainable build process at the cost of yet another [Babel](https://github.com/babel/babel) [plugin](https://babeljs.io/docs/plugins/).

[![Sponsor](.README/sponsor.png)](https://github.com/sponsors/birdofpreyru)

---
_This is a fork of [`babel-plugin-transform-assets`](https://www.npmjs.com/package/babel-plugin-transform-assets) upgraded to be compatible with the latest Webpack's `file-loder`, and to use the latest versions of all dependencies. For migration just prefix the plugin name with `@dr.pogodin/` scopename in your `package.json` and Babel configs._

---

## Example

```js
Expand Down Expand Up @@ -60,7 +69,3 @@ require('babel-core').transform('code', {
### Contributing

Contributions are very welcome鈥攂ug fixes, features, documentation, tests. Just make sure the tests are passing.

### Related Projects

[babel-plugin-css-modules-transform](https://github.com/michalkvasnicak/babel-plugin-css-modules-transform)
Loading

0 comments on commit d9b8775

Please sign in to comment.