forked from AkosLukacs/ag-grid-enterprise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack-with-styles.js
25 lines (20 loc) · 948 Bytes
/
webpack-with-styles.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require('./dist/lib/main');
// add in exports for ag-Grid-Enterprise
var populateClientExports = require('./dist/lib/clientExports').populateClientExports;
populateClientExports(exports);
// also add in in exports for ag-Grid-Standard, as it's webpack, we want both packed up
var agGrid = require('ag-grid/main');
Object.keys(agGrid).forEach(function(key) {
exports[key] = agGrid[key];
});
require('ag-grid/dist/styles/ag-grid.css');
require('ag-grid/dist/styles/theme-fresh.css');
require('ag-grid/dist/styles/theme-dark.css');
require('ag-grid/dist/styles/theme-blue.css');
require('ag-grid/dist/styles/theme-material.css');
require('ag-grid/dist/styles/theme-bootstrap.css');
require('ag-grid/dist/styles/ag-theme-fresh.css');
require('ag-grid/dist/styles/ag-theme-dark.css');
require('ag-grid/dist/styles/ag-theme-blue.css');
require('ag-grid/dist/styles/ag-theme-material.css');
require('ag-grid/dist/styles/ag-theme-bootstrap.css');