@wpackio/entrypoint v6.4.0
@wpackio/entrypoint
A custom entry-point for webpack. This is designed to set the publicPath dynamically
under production build. This should not be used elsewhere.
Please see wpack.io for usage.
Installation
If using yarn
yarn add @wpackio/entrypointor with npm
npm i @wpackio/entrypointUsage
It is taken care of automatically. What @wpackio/scripts does is adds
@wpackio/entrypoint/lib/index.js under all entry-points.
It depends on __WPACKIO__ free variable, as defined by webpack.DefinePlugin.
All of it is taken care of by @wpackio/scripts.
Development
This package has the same npm scripts as this monorepo. These should be run
using lerna run <script>. More information can be found under CONTRIBUTION.md.
build: Use babel to build for nodejs 8.6+. Files insidesrcare compiled and put underlib. All type definitions are stripped and individual type declaration files are created.prepare: Runbuildafteryarnand beforepublish.lint: Lint all files using eslint.test: Run tests on files using jest.
4 years ago
5 years ago
5 years ago
5 years ago
4 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago