Skip to content

Commit

Permalink
Merge branch 'master' into ExportToExcelDocRevision
Browse files Browse the repository at this point in the history
  • Loading branch information
dms1lva committed Feb 14, 2017
2 parents 13fafb9 + 1bbd863 commit 23ac07c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
],
"homepage": "https://github.com/coveo/coveo.search.js#readme",
"engines": {
"node": "4.2.2"
"node": "6.9.2"
},
"devDependencies": {
"@salesforce-ux/design-system": "2.0.3",
Expand Down
8 changes: 7 additions & 1 deletion webpackConfigFiles/webpack.common.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ if (minimize) {
plugins.push(new webpack.optimize.UglifyJsPlugin());
}

let globalizePath = __dirname + '/../lib/globalize/globalize.min.js';

module.exports = {
resolve: {
extensions: ['', '.ts', '.js'],
alias: {
'l10n': __dirname + '/../lib/l10n/l10n.min.js',
'globalize': __dirname + '/../lib/globalize/globalize.min.js',
'globalize': globalizePath,
'modal-box': __dirname + '/../node_modules/modal-box/bin/ModalBox.min.js',
'magic-box': __dirname + '/../node_modules/coveomagicbox/bin/MagicBox.min.js',
'default-language': __dirname + '/../src/strings/DefaultLanguage.js',
Expand All @@ -28,6 +30,10 @@ module.exports = {
module: {
loaders: [
{test: /\.ts$/, loader: 'ts-loader'},
{
test: require.resolve(globalizePath),
loader: 'expose-loader?Globalize'
},
{
test: /underscore-min.js/,
loader: 'string-replace-loader',
Expand Down

0 comments on commit 23ac07c

Please sign in to comment.