-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #586 from sebgroup/develop
release the build changes to use node 15 and npm 7
- Loading branch information
Showing
11 changed files
with
56,386 additions
and
40,969 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
const TsconfigPathsPlugin = require("tsconfig-paths-webpack-plugin"); | ||
|
||
exports.onCreateWebpackConfig = ({ actions, getConfig }) => { | ||
const config = getConfig(); | ||
const miniCssExtractPlugin = config.plugins.find((plugin) => plugin.constructor.name === "MiniCssExtractPlugin"); | ||
if (miniCssExtractPlugin) { | ||
miniCssExtractPlugin.options.ignoreOrder = true; | ||
} | ||
actions.setWebpackConfig({ | ||
resolve: { | ||
plugins: [ | ||
new TsconfigPathsPlugin({ | ||
configFile: `${__dirname}/tsconfig.json`, | ||
silent: true, | ||
}), | ||
], | ||
fallback: { | ||
os: require.resolve("os-browserify/browser"), | ||
path: require.resolve("path-browserify"), | ||
}, | ||
}, | ||
}); | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.