mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
* build: set latest SHA commit as system environment variable for chrome build * build: set latest SHA commit as sys variable for demo build * feat: create application environment abstraction to reference environment variables inside the ng-devtools library * test: fix devtools component test
11 lines
208 B
JavaScript
11 lines
208 B
JavaScript
const webpack = require('webpack');
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
new webpack.DefinePlugin({
|
|
'process.env': {
|
|
LATEST_SHA: JSON.stringify(process.env.LATEST_SHA),
|
|
},
|
|
}),
|
|
],
|
|
};
|