Use ES6 export everywhere in /src
parent
a0075d7054
commit
58ceb30d3d
|
@ -3,7 +3,7 @@ var fs = require('fs'),
|
||||||
inflection = require('inflection'),
|
inflection = require('inflection'),
|
||||||
mkdirp = require('mkdirp')
|
mkdirp = require('mkdirp')
|
||||||
|
|
||||||
var { compress } = require('../src/utils/data')
|
var { compress } = require('../dist/utils/data')
|
||||||
|
|
||||||
var categories = [
|
var categories = [
|
||||||
['Smileys & People', 'people'],
|
['Smileys & People', 'people'],
|
||||||
|
|
|
@ -103,4 +103,4 @@ const uncompress = (data) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = { buildSearch, compress, uncompress }
|
export { buildSearch, compress, uncompress }
|
||||||
|
|
Loading…
Reference in New Issue