1.0.0 • Published 1 year ago

@html_first/atla-as_builder v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

atlaAS_builder

  • designed for @html_first packages;
  • though it might still be usefull for general usage for bundling;

installation

npm i @html_first/atla-as_builder
// rollup.config.mjs
// @ts-check

import { _RollupSettings, _RollupTarget } from '@html_first/atla-as_builder';

const targets = [...`_RollupTarget[]` /** array of _RollupTarget instances */];

export default new _RollupSettings(targets, [
	/** 'packages_to_resolves' optional */
]).config;

then save to your script

{
    ...
    "scripts":{
        ...
        "build":"rollup -c",
        "watch":"rollup -c -w",
        ...
    }
    ...
}

which then you can trigger by

npm run build

or

npm run watch
1.0.0

1 year ago

0.8.0

1 year ago