diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fc8791..0725c3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- add a `pkg` alias entry to the generated `.luaurc` file in `node_modules` ([#9](https://github.com/seaofvoices/darklua/pull/9)) + ## 0.1.1 - re-export types in nested blocks ([#6](https://github.com/seaofvoices/darklua/pull/6)) diff --git a/src/createLuauRc.js b/src/createLuauRc.js index 9edd34c..cd3f1dd 100644 --- a/src/createLuauRc.js +++ b/src/createLuauRc.js @@ -4,6 +4,7 @@ const path = require('path') const NOCHECK_CONFIG = JSON.stringify( { languageMode: 'nocheck', + aliases: { pkg: './.luau-aliases' }, }, null, 4