@phragon/extender-resource
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@phragon/extender-resource

Adds the images and fonts import to the PhragonJS project. Used only for the webpack builder.

❯ Install

# this is not necessary, once added to the configuration file, the dependencies are installed automatically
$ npm install --save @phragon/extender-resource

Add an extension method to phragon.config.ts\

import type { BuilderI } from "phragon";

export default async function config(builder: BuilderI) {
	builder
		// extender
		.extender("resource")

		// config
		.phragon
		.lexicon("en")
		.render("react", false)
		.publicPath("./public");
}

Readme

Keywords

none

Package Sidebar

Install

npm i @phragon/extender-resource

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

8.65 kB

Total Files

12

Last publish

Collaborators

  • websoftlab