Closed qiweiii closed 1 year ago
Got errors saying Module not found when trying to update polkadot.js app PR with latest version. Tried a few fix with swc setup, but did not make it work.
Module not found
Then I checked a few packages with dual bundle, I tried to just follow vite-node’s solution: https://github.com/vitest-dev/vitest/blob/main/packages/vite-node/rollup.config.js, it seems all work fine
Tests
webpack thing { test: /\.m?js$/, resolve: { fullySpecified: false, // disable the behaviour }, },
{ test: /\.m?js$/, resolve: { fullySpecified: false, // disable the behaviour }, },
don't need this for now
Got errors saying
Module not found
when trying to update polkadot.js app PR with latest version. Tried a few fix with swc setup, but did not make it work.Then I checked a few packages with dual bundle, I tried to just follow vite-node’s solution: https://github.com/vitest-dev/vitest/blob/main/packages/vite-node/rollup.config.js, it seems all work fine
Tests