Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
}
]
},
resolve: {
extensions: [".js", ".jsx", ".gql", ".graphql"],
fallback: {
crypto: false
}
},
// https://github.com/rails/webpacker/issues/2932
// As Decidim uses multiple packs, we need to enforce a single runtime, to prevent duplication
optimization: {
runtimeChunk: false
},
entry: config.entrypoints
}
}
}
]
},
resolve: {
extensions: [".js", ".jsx", ".gql", ".graphql"],
fallback: {
crypto: false
}
},
// https://github.com/rails/webpacker/issues/2932
// As Decidim uses multiple packs, we need to enforce a single runtime, to prevent duplication
optimization: {
runtimeChunk: false
},
entry: config.entrypoints
}