Frequently Asked Questions
You will need to purge the lock file and run the install subcommand of your chosen package manager to get the latest version of Plasmo. You can manually pin Plasmo's version by upgrading its version number in
package.json and running the install subcommand accordingly.
The tilde (
~) always resolves to the root project directory where the
package.json resides if used outside a source code module, OR with a scheme such as
~rulesets/test.jsonused in the manifest overide inside
If the tilde is by itself without a scheme and is being used to import a source code module from another source code module (
tsx files), it has two behaviors depending on whether you are using the default setup or the the
src directory setup:
- With the default setup,
~points to the project root.
- With the
~points to the
~core/code-module.tsx, resolves to