Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
tile-extrude-webpack-plugin
Advanced tools
A Webpack plugin to extrude tilesets automatically with tile-extruder.
It will be re-extruded automatically when added or modified images while webpack is watching.
Install:
$ npm install tile-extrude-webpack-plugin
Define into webpack.config.js
:
const TileExtrudeWebpackPlugin = require('tile-extrude-webpack-plugin')
// ...
{
entry: {
...
},
output: {
...
},
plugins: [
new TileExtrudeWebpackPlugin({
size: 32,
input: './public/img/original_tilesets',
output: './public/img/extruded_tilesets'
})
]
}
Options:
Key | What is |
---|---|
size | Tile size. |
input | Input directory. Original images should be here. |
output | Output directory. Extruded images will be here. |
minify | Minify png when extrude. (default is true) |
$ tile-extrude --input <input dir> --output <output dir> --size <tile size> --minify
or
$ tile-extrude --config <path to config>
module.exports = {
size: 32,
input: './input',
output: './output',
minify: true
}
I'm not sure if this will be working on Webpack3 or less. Please make an issue or PR if need it.
FAQs
Extrude tilesets automatically
We found that tile-extrude-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.