My application uses less as a style file descriptor. When I try to compile it with Meteor 3, I get a package incompatibility error with Meteor 3. I took it locally, fixed the incompatibility, and tried to run the application again. Now I get a compile-time error for fewer files included in packages or on dynamically loaded contexts. From what I have determined, the problem occurs when trying to parse the file as if it were a javascript. Digging deeper, I noticed that the findImportedModuleIdentifiers function now no longer gets a format:
module.exports = require("meteor/modules").addStyles(\n ".djs-context-pad .entry {\\n width: 2rem !important;\\n}\\n.propertiespanel .ui.form .field .selectlist {\\n min-width: 5rem !important;\\n border-radius: 0 !important...
but the contents of the compiled less file, generating the error:
test2.less:1: Unexpected token (1:0)
The error occurs only if the less file contains at least one instance of the strings: “require”, “import”, “export”, “dynamicImport”, “link”, and is loaded in non-lazy mode.
So far this is blocking my ability to migrate, am I missing something?