Use of copy.source.commonjs() is deprecated
This commit is contained in:
parent
21a07bd793
commit
71e6e8894b
1 changed files with 10 additions and 10 deletions
20
Makefile.dryice.js
Executable file → Normal file
20
Makefile.dryice.js
Executable file → Normal file
|
|
@ -267,10 +267,10 @@ function buildAce(aceProject, options) {
|
|||
});
|
||||
copy({
|
||||
source: [
|
||||
copy.source.commonjs({
|
||||
{
|
||||
project: project,
|
||||
require: options.requires
|
||||
})
|
||||
}
|
||||
],
|
||||
filter: [ copy.filter.moduleDefines ],
|
||||
dest: ace
|
||||
|
|
@ -286,10 +286,10 @@ function buildAce(aceProject, options) {
|
|||
project.assumeAllFilesLoaded();
|
||||
copy({
|
||||
source: [
|
||||
copy.source.commonjs({
|
||||
{
|
||||
project: cloneProject(project),
|
||||
require: [ "pilot/index" ]
|
||||
})
|
||||
}
|
||||
],
|
||||
filter: filters,
|
||||
dest: targetDir + "/" + name + "-compat" + suffix
|
||||
|
|
@ -303,10 +303,10 @@ function buildAce(aceProject, options) {
|
|||
console.log("mode " + mode);
|
||||
copy({
|
||||
source: [
|
||||
copy.source.commonjs({
|
||||
{
|
||||
project: cloneProject(project),
|
||||
require: [ 'ace/mode/' + mode ]
|
||||
})
|
||||
}
|
||||
],
|
||||
filter: filters,
|
||||
dest: targetDir + "/mode-" + mode + suffix
|
||||
|
|
@ -340,7 +340,7 @@ function buildAce(aceProject, options) {
|
|||
});
|
||||
copy({
|
||||
source: [
|
||||
copy.source.commonjs({
|
||||
{
|
||||
project: workerProject,
|
||||
require: [
|
||||
'ace/lib/fixoldbrowsers',
|
||||
|
|
@ -348,7 +348,7 @@ function buildAce(aceProject, options) {
|
|||
'ace/lib/oop',
|
||||
'ace/mode/' + mode + '_worker'
|
||||
]
|
||||
})
|
||||
}
|
||||
],
|
||||
filter: [ copy.filter.moduleDefines, filterTextPlugin ],
|
||||
dest: worker
|
||||
|
|
@ -370,10 +370,10 @@ function buildAce(aceProject, options) {
|
|||
options.keybindings.forEach(function(keybinding) {
|
||||
copy({
|
||||
source: [
|
||||
copy.source.commonjs({
|
||||
{
|
||||
project: cloneProject(project),
|
||||
require: [ 'ace/keyboard/keybinding/' + keybinding ]
|
||||
})
|
||||
}
|
||||
],
|
||||
filter: filters,
|
||||
dest: "build/src/keybinding-" + keybinding + suffix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue