Skip to content

feat: add rspack builder#4

Draft
valorkin wants to merge 19 commits intomainfrom
feature/rspack
Draft

feat: add rspack builder#4
valorkin wants to merge 19 commits intomainfrom
feature/rspack

Conversation

@valorkin
Copy link
Owner

No description provided.

{
test: /\.?(scss)$/,
resourceQuery: /\?ngResource/,
use: [{ loader: 'raw-loader' }, { loader: 'sass-loader' }],
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These dependencies are not in package.json, they should be added.

return from(createWebpackFactoryFromRspackCLI(options)) as unknown as Observable<typeof webpack>;
}

async function createWebpackFactoryFromRspackCLI(options: any) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There should be something here to handle tsconfig paths. Similar to this: https://github.com/nrwl/nx-labs/blob/main/packages/rspack/src/utils/with-nx.ts#L20-L25

Rspack isn't handling this out of the box (neither does Webpack with ts-loader).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants