1.1.2 • Published 4 years ago
@aaronmh/rollup-plugin-rebase v1.1.2
Rollup Rebase
Forked from rollup-plugin-rebase. This just adds a few small options I needed. Please use the original author's version, as this is intended for a specific project's needs, and will change with the needs of that project.
Options (all optional)
assetFolder: When set assets are placed inside a sub folder with that name.keepName: Iftrue, generated filenames will be${filename}~${hash}.${ext}instead of just${hash}.${ext}verbose: Iftrue, increases log levelinclude: Standard include option for rollup plugins.exclude: Standard exclude option for rollup plugins.skipHash: Skips the step that adds a hash to the file names. RequireskeepName.includeScripts: Enabled script files to be rebased, as they are ignored by default.flatten: Should the dir structure be flattened. Defaults totrue- NOTE: If flatten is
false, it will include the full folder structure from root by default.
- NOTE: If flatten is
buildFolderStructureFrom: If you're rebasing a single folder, have flatten set tofalse, and don't want the full path to be copied, specify the path of the folder (from root) that you want excluded from the final path.- Example. include is set to
'src/resources/images/**'. This option could be'/src/resources/images/'
- Example. include is set to
Copyright
Forked from:
Copyright 2016-2022Sebastian Software GmbH