Skip to content

Commit cba72af

Browse files
committed
Adding a lib-amd config setting on the test project to ensure we break if lib-amd support breaks. Also adding a gitignore.
1 parent d7ce7fd commit cba72af

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ npm*.log
1414
temp
1515
package
1616
*.scss.ts
17+
package-deps.json

test-web-library-build/gulpfile.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
'use strict';
22

3+
let path = require('path');
34
let build = require('@microsoft/web-library-build');
45

56
build.sass.setConfig({ useCSSModules: true });
67
build.webpack.setConfig({ configPath: null });
78
build.karma.setConfig({ configPath: null });
89

10+
build.setConfig({
11+
libAMDFolder: path.join(build.getConfig().packageFolder, 'lib-amd')
12+
});
13+
914
build.initialize(require('gulp'));
1015

0 commit comments

Comments
 (0)