2020-03-02 19:14:01 +08:00
|
|
|
var DefinePlugin = require("../../../../").DefinePlugin;
|
|
|
|
|
2020-04-20 13:36:55 +08:00
|
|
|
/** @type {import("../../../../").Configuration} */
|
2020-03-02 19:14:01 +08:00
|
|
|
module.exports = {
|
|
|
|
output: {
|
2020-09-09 22:37:53 +08:00
|
|
|
environment: {
|
|
|
|
bigIntLiteral: true
|
|
|
|
}
|
2020-03-02 19:14:01 +08:00
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
new DefinePlugin({
|
2020-03-09 17:59:31 +08:00
|
|
|
BIGINT: BigInt("9007199254740993"),
|
2020-03-02 23:25:17 +08:00
|
|
|
ZERO_BIGINT: BigInt(0)
|
2020-03-02 19:14:01 +08:00
|
|
|
})
|
|
|
|
]
|
|
|
|
};
|