graphql-engine/frontend/libs/nx/unplugin-dynamic-asset-loader
Nicolas Beaussart 53a3803ba4 frontend: setup asset loader for local dev
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7691
GitOrigin-RevId: 4e3926b4105f0bc15dce75b154f6ef60292c5074
2023-01-31 14:56:47 +00:00
..
src frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
.eslintrc.json frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
.lib.swcrc frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
CHANGELOG.md frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
jest.config.ts frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
package.json frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
project.json frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
README.md frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
tsconfig.json frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
tsconfig.lib.json frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00
tsconfig.spec.json frontend: setup asset loader for local dev 2023-01-31 14:56:47 +00:00

unplugin-dynamic-asset-loader

This plugin create an assetLoader file at dev time. It does not do it in production builds.

Building

Run nx build nx-unplugin-dynamic-asset-loader to build the library.

Running unit tests

Run nx test nx-unplugin-dynamic-asset-loader to execute the unit tests via Jest.