8000 Webpack resolve extensions not working with SSR · Issue #161 · catamphetamine/webpack-isomorphic-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
Webpack resolve extensions not working with SSR #161
Open
@priya-unacademy

Description

@priya-unacademy

I have 2 set of files .custom.js and .js and I want the .custom.js take the higher precedence over the default .js extension. So I added in the module export part as

resolve: {
extensions: ['.custom.js', '.js', '.json']
}

This is working fine in the client side.

But after adding the webpack-isomorphic-tools code, it's always taking the default extension and the resolve extension is not getting considered.

Can someone help me with this ?

Webpack : 4.18.0
Webpack isomorphic tools: 3.0.6
Babel : @babel/core - 7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0