1.1.0 • Published 3 years ago
tit4tatt v1.1.0
tit4tatt
all the things
This is the prodigal twin brother of the
tatt
package. It adds support for path aliases and bare imports, as is typically required in CommonJS build environments by antiquated frameworks that depend on source code transformation.
Usage
Installation
npm install tit4tatt
Configuration
Add aliases that match your project's bundler in package.json
:
{
"_moduleAliases": {
"~": "."
}
}
Note: module-alias
is only registered in the tit4tatt
executable.
The installation itself has no side effects on the
package resolution of your bundler.
Next steps
From here on, refer to the documentation of the
tatt
package.
The only differences are that both the bare import and the
executable name are tit4tatt
instead of tatt
.
License
GNU Affero General Public License
SPDX-License-Identifier: AGPL-3.0-or-later