mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-05 08:37:43 -04:00
Fix duplicate components being injected into data URI and add tests for index.js
This commit is contained in:
@@ -52,6 +52,7 @@ module.exports = function(config) {
|
||||
|
||||
// list of files / patterns to load in the browser
|
||||
files: [
|
||||
'index.js',
|
||||
'src/scripts/**/*.js',
|
||||
'test/spec/**/*.js'
|
||||
],
|
||||
@@ -62,6 +63,7 @@ module.exports = function(config) {
|
||||
// preprocess matching files before serving them to the browser
|
||||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
||||
preprocessors: {
|
||||
'index.js': ['browserify'],
|
||||
'src/scripts/**/*.js': ['browserify'],
|
||||
'test/spec/**/*.js': ['browserify']
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user